Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 108.7 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001943, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1776/0.1776, allocations: 37.98 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09217, allocations: 55.25 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005216/0.09741, allocations: 4.41 MB / 492.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.09967, allocations: 1.559 MB / 493.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.09984, allocations: 15.88 kB / 493.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008204/0.1007, allocations: 287.2 kB / 494 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.1012, allocations: 278.7 kB / 494.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.1018, allocations: 247.4 kB / 494.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.1024, allocations: 0.6079 MB / 495.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.1027, allocations: 239.5 kB / 495.4 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.103, allocations: 267 kB / 495.7 MB, free: 432 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.1035, allocations: 370.9 kB / 496 MB, free: 60 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.1036, allocations: 40 kB / 496.1 MB, free: 20 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.104, allocations: 223.6 kB / 496.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.1042, allocations: 235.4 kB / 496.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.1044, allocations: 254.7 kB / 496.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006385/0.1051, allocations: 0.6659 MB / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1051, allocations: 0 / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1051, allocations: 0 / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1051, allocations: 0 / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001281/0.1064, allocations: 0.7738 MB / 498.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1064, allocations: 11.89 kB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.1071, allocations: 92.22 kB / 498.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/0.1078, allocations: 427.2 kB / 498.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1078, allocations: 21.38 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.1079, allocations: 56.09 kB / 498.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/0.1089, allocations: 0.6915 MB / 499.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1089, allocations: 3.938 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.1089, allocations: 15.98 kB / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/0.1092, allocations: 68.95 kB / 499.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009629/0.1101, allocations: 0.6713 MB / 0.4885 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/0.1135, allocations: 2.65 MB / 0.4911 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.114, allocations: 321.2 kB / 0.4914 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.1143, allocations: 205.7 kB / 0.4916 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1143, allocations: 4 kB / 0.4916 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1143, allocations: 34.56 kB / 0.4917 GB, free: 8.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/0.1144, allocations: 0 / 0.4917 GB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001809/0.1162, allocations: 1.311 MB / 0.4929 GB, free: 6.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.1162, allocations: 81.11 kB / 0.493 GB, free: 6.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1165, allocations: 287.2 kB / 0.4933 GB, free: 6.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1165, allocations: 29.7 kB / 0.4933 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1167, allocations: 255.6 kB / 0.4936 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.879e-05/0.1168, allocations: 137.9 kB / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1169, allocations: 90.03 kB / 0.4938 GB, free: 6.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1171, allocations: 346.8 kB / 0.4941 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1173, allocations: 192.9 kB / 0.4943 GB, free: 5.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.1177, allocations: 325.3 kB / 0.4946 GB, free: 5.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.1183, allocations: 0.5584 MB / 0.4951 GB, free: 4.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1183, allocations: 0 / 0.4951 GB, free: 4.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001132/0.1195, allocations: 0.6739 MB / 0.4958 GB, free: 3.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1195, allocations: 8 kB / 0.4958 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007845/0.1203, allocations: 492 kB / 0.4963 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.1207, allocations: 109.6 kB / 0.4964 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.121, allocations: 91.81 kB / 0.4965 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.1237, allocations: 3.258 MB / 0.4997 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.1239, allocations: 31.91 kB / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.1239, allocations: 12 kB / 0.4997 GB, free: 15.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.1242, allocations: 217.7 kB / 0.4999 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.1243, allocations: 35.53 kB / 0.4999 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006789/0.1249, allocations: 468.7 kB / 0.5004 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.125, allocations: 0 / 0.5004 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.125, allocations: 0 / 0.5004 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.1251, allocations: 140.6 kB / 0.5005 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.1252, allocations: 8 kB / 0.5005 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1254, allocations: 15.98 kB / 0.5005 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1254, allocations: 23.97 kB / 0.5006 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009593/0.1264, allocations: 0.6286 MB / 0.5012 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000959/0.1274, allocations: 0.9112 MB / 0.5021 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002457/0.1276, allocations: 199.9 kB / 0.5023 GB, free: 12.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1278, allocations: 207 kB / 0.5025 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Backend: time 6.21e-07/0.1278, allocations: 0 / 0.5025 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.1292, allocations: 0.7232 MB / 0.5032 GB, free: 11.91 MB / 398.1 MB Notification: Performance of SimCode: time 0.001609/0.1308, allocations: 1.388 MB / 0.5045 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Templates: time 0.01105/0.1419, allocations: 5.734 MB / 0.5101 GB, free: 4.73 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)