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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001397/0.001397, allocations: 106 kB / 16.62 MB, free: 6.812 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.001705/0.001705, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1759/0.1759, allocations: 38.03 MB / 329.4 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.83 kB / 398.3 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.112, allocations: 58.06 MB / 456.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006531/0.1186, allocations: 5.065 MB / 461.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1213, allocations: 1.609 MB / 463 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.1216, allocations: 23.88 kB / 463 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.1227, allocations: 346.7 kB / 463.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.1233, allocations: 235.1 kB / 463.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.1239, allocations: 227.6 kB / 463.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007107/0.1247, allocations: 0.5573 MB / 464.4 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.1251, allocations: 313 kB / 464.7 MB, free: 60 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.1255, allocations: 251 kB / 464.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.1259, allocations: 378.9 kB / 465.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.126, allocations: 40 kB / 465.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.1264, allocations: 235.6 kB / 465.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.1266, allocations: 239.5 kB / 465.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.1269, allocations: 258.7 kB / 466.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.1276, allocations: 0.6659 MB / 466.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1276, allocations: 4 kB / 466.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1276, allocations: 3.938 kB / 466.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1276, allocations: 0 / 466.7 MB, free: 14.01 MB / 350.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.00138/0.129, allocations: 0.7739 MB / 467.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1291, allocations: 11.89 kB / 467.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005591/0.1296, allocations: 88.22 kB / 467.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.1302, allocations: 407.2 kB / 468 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1303, allocations: 25.38 kB / 468 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.1304, allocations: 48.11 kB / 468.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009909/0.1314, allocations: 0.6843 MB / 468.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1314, allocations: 0 / 468.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.1315, allocations: 16 kB / 468.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/0.1317, allocations: 52.95 kB / 468.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1327, allocations: 0.6713 MB / 469.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.1362, allocations: 2.517 MB / 472 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.1368, allocations: 341.3 kB / 472.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.1371, allocations: 225.9 kB / 472.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.979e-05/0.1371, allocations: 7.984 kB / 472.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.1372, allocations: 42.5 kB / 472.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.1372, allocations: 0 / 472.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002078/0.1393, allocations: 1.349 MB / 474 MB, free: 6.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.1394, allocations: 85.05 kB / 474 MB, free: 6.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.1397, allocations: 304.5 kB / 474.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1397, allocations: 29.7 kB / 474.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1399, allocations: 259.5 kB / 474.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.14, allocations: 149.8 kB / 474.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1402, allocations: 94.16 kB / 474.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1403, allocations: 350.8 kB / 475.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1406, allocations: 205 kB / 475.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.1409, allocations: 369 kB / 475.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.1417, allocations: 0.6021 MB / 476.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1417, allocations: 0 / 476.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009371/0.1426, allocations: 0.6347 MB / 477 MB, free: 3.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1426, allocations: 8 kB / 477 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1427, allocations: 4 kB / 477 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.1427, allocations: 8 kB / 477 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.1431, allocations: 111.8 kB / 477.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.1431, allocations: 11.94 kB / 477.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1434, allocations: 28.34 kB / 477.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.1434, allocations: 23.94 kB / 477.2 MB, free: 2.984 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.1437, allocations: 221.6 kB / 477.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.1438, allocations: 35.56 kB / 477.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.1446, allocations: 496.3 kB / 477.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.1446, allocations: 12 kB / 477.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1447, allocations: 0 / 477.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1447, allocations: 3.984 kB / 477.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.1464, allocations: 1.097 MB / 479 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.1464, allocations: 4 kB / 479 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.1468, allocations: 71.89 kB / 479.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.1468, allocations: 4 kB / 479.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.1468, allocations: 15.92 kB / 479.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1468, allocations: 4.094 kB / 479.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1469, allocations: 4 kB / 479.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1479, allocations: 0.8356 MB / 480 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.148, allocations: 108.7 kB / 480.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.1481, allocations: 16 kB / 480.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1483, allocations: 11.98 kB / 480.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.1483, allocations: 27.91 kB / 480.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.1484, allocations: 12 kB / 480.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.1486, allocations: 211 kB / 480.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1486, allocations: 0 / 480.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004887/0.1491, allocations: 108 kB / 480.5 MB, free: 15.59 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002525/0.1493, allocations: 142.8 kB / 480.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008618/0.1502, allocations: 0.5793 MB / 481.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1502, allocations: 0 / 481.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.1505, allocations: 228.1 kB / 481.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.1511, allocations: 81.16 kB / 481.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1527, allocations: 1.299 MB / 482.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.1532, allocations: 0.8781 MB / 483.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003352/0.1535, allocations: 131.1 kB / 483.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.1536, allocations: 35.44 kB / 483.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1536, allocations: 0 / 483.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.007808/0.1614, allocations: 3.774 MB / 487.6 MB, free: 8.406 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (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)