Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 95.47 kB / 16.3 MB, free: 5.996 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.001102/0.001102, allocations: 183.8 kB / 17.2 MB, free: 5.914 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.789/1.789, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.409/0.409, allocations: 38.06 MB / 309.7 MB, free: 8.906 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.001193/0.001193, allocations: 16 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1903, allocations: 56.33 MB / 432.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006018/0.1964, allocations: 4.297 MB / 437.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1998, allocations: 1.583 MB / 438.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.2006, allocations: 27.81 kB / 438.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.2011, allocations: 67.52 kB / 438.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.2023, allocations: 215.4 kB / 439 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.2034, allocations: 223.5 kB / 439.2 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.2041, allocations: 295.8 kB / 439.5 MB, free: 16 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2053, allocations: 0.5269 MB / 440 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004589/0.2057, allocations: 171.4 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.2063, allocations: 251.3 kB / 440.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.2065, allocations: 20 kB / 440.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.2071, allocations: 159.7 kB / 440.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.2074, allocations: 203.5 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.2076, allocations: 109.5 kB / 440.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.2084, allocations: 498.8 kB / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2084, allocations: 0 / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2084, allocations: 0 / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.2084, allocations: 0 / 441.4 MB, free: 14.06 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001703/0.2101, allocations: 0.6958 MB / 442.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2102, allocations: 11.97 kB / 442.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007554/0.2109, allocations: 99.27 kB / 442.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.212, allocations: 390.1 kB / 442.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.2121, allocations: 32.98 kB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.2123, allocations: 43.95 kB / 442.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2135, allocations: 0.6764 MB / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.2135, allocations: 0 / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.2136, allocations: 12 kB / 443.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.2138, allocations: 56.94 kB / 443.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009901/0.2148, allocations: 0.6752 MB / 444.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.2185, allocations: 2.505 MB / 446.6 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.2191, allocations: 337.3 kB / 446.9 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.2192, allocations: 8.047 kB / 446.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.2192, allocations: 34.56 kB / 447 MB, free: 8.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.936e-06/0.2192, allocations: 4 kB / 447 MB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.002508/0.2217, allocations: 1.498 MB / 448.5 MB, free: 6.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.2218, allocations: 81.11 kB / 448.5 MB, free: 6.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.2222, allocations: 304.4 kB / 448.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.2223, allocations: 37.69 kB / 448.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.2225, allocations: 255.5 kB / 449.1 MB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.2227, allocations: 154 kB / 449.3 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.2227, allocations: 8 kB / 449.3 MB, free: 5.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.2229, allocations: 350.8 kB / 449.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.2232, allocations: 193 kB / 449.8 MB, free: 5.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.2237, allocations: 361.2 kB / 450.2 MB, free: 4.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.2241, allocations: 257.3 kB / 450.4 MB, free: 4.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2241, allocations: 0 / 450.4 MB, free: 4.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001009/0.2251, allocations: 0.6226 MB / 451 MB, free: 3.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.2252, allocations: 8 kB / 451.1 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.2252, allocations: 7.938 kB / 451.1 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.2252, allocations: 8 kB / 451.1 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.2257, allocations: 111.9 kB / 451.2 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.2257, allocations: 15.89 kB / 451.2 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.226, allocations: 24.41 kB / 451.2 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.226, allocations: 28 kB / 451.2 MB, free: 3.723 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002738/0.2263, allocations: 210.7 kB / 451.5 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.988e-05/0.2264, allocations: 31.62 kB / 451.5 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/0.2272, allocations: 0.4885 MB / 452 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.2272, allocations: 15.94 kB / 452 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.2272, allocations: 3.938 kB / 452 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.2273, allocations: 7.938 kB / 452 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.229, allocations: 1.085 MB / 453.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.229, allocations: 3.984 kB / 453.1 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.2293, allocations: 67.89 kB / 453.2 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.2294, allocations: 4 kB / 453.2 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.2294, allocations: 12.05 kB / 453.2 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.2294, allocations: 12 kB / 453.2 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2294, allocations: 0 / 453.2 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.2305, allocations: 0.8699 MB / 454.1 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2306, allocations: 108.6 kB / 454.2 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.2307, allocations: 8 kB / 454.2 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2309, allocations: 16.02 kB / 454.2 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.231, allocations: 27.92 kB / 454.2 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.231, allocations: 12 kB / 454.2 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.2312, allocations: 211.1 kB / 454.4 MB, free: 400 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2312, allocations: 0 / 454.4 MB, free: 400 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005195/0.2317, allocations: 104 kB / 454.5 MB, free: 296 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.232, allocations: 123.2 kB / 454.6 MB, free: 164 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2307/0.4627, allocations: 485.3 kB / 455.1 MB, free: 51.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.4628, allocations: 4.25 kB / 455.1 MB, free: 51.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.4632, allocations: 226.8 kB / 455.3 MB, free: 51.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.4639, allocations: 53.98 kB / 455.4 MB, free: 51.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.4659, allocations: 1.35 MB / 456.8 MB, free: 51.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.4664, allocations: 0.8859 MB / 457.6 MB, free: 50.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.4667, allocations: 127.3 kB / 457.8 MB, free: 50.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.4669, allocations: 29 kB / 457.8 MB, free: 50.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.084e-06/0.4669, allocations: 0 / 457.8 MB, free: 50.6 MB / 382.1 MB Notification: Performance of Templates: time 0.007397/0.4743, allocations: 3.533 MB / 461.3 MB, free: 50.38 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) Environment - environmentSimulation: