Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001933, allocations: 104.2 kB / 17.59 MB, free: 5.43 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.001995/0.001996, allocations: 187.3 kB / 18.51 MB, free: 4.508 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.41/1.41, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1766/0.1766, allocations: 38.03 MB / 330.4 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.11 kB / 399.5 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 58.07 MB / 457.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005898/0.1139, allocations: 4.577 MB / 462.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1161, allocations: 1.301 MB / 463.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.1163, allocations: 11.94 kB / 463.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1175, allocations: 402.3 kB / 463.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.1181, allocations: 246.8 kB / 464.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.1185, allocations: 171.7 kB / 464.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000578/0.1191, allocations: 0.5607 MB / 464.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.1196, allocations: 297.2 kB / 465.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.12, allocations: 247 kB / 465.3 MB, free: 256 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.1204, allocations: 283 kB / 465.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.1205, allocations: 28 kB / 465.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.1208, allocations: 123.8 kB / 465.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.121, allocations: 187.5 kB / 465.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.1212, allocations: 226.9 kB / 466.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.1217, allocations: 0.5099 MB / 466.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1217, allocations: 0 / 466.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1218, allocations: 4 kB / 466.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1218, allocations: 0 / 466.7 MB, free: 14.9 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001144/0.1229, allocations: 0.6952 MB / 467.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.123, allocations: 15.89 kB / 467.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.1236, allocations: 76.41 kB / 467.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.1242, allocations: 395.2 kB / 467.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1242, allocations: 25.38 kB / 467.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.1244, allocations: 48.11 kB / 467.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.125, allocations: 480.8 kB / 468.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.125, allocations: 4 kB / 468.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.1251, allocations: 8 kB / 468.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.1252, allocations: 32.92 kB / 468.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.1257, allocations: 355.7 kB / 468.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.1278, allocations: 1.733 MB / 470.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1281, allocations: 157.1 kB / 470.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.1282, allocations: 114 kB / 470.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1283, allocations: 3.938 kB / 470.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1283, allocations: 42.5 kB / 470.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.1283, allocations: 0 / 470.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001519/0.1298, allocations: 0.8795 MB / 471.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.1299, allocations: 81.09 kB / 471.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.1302, allocations: 308.5 kB / 472.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1303, allocations: 25.7 kB / 472.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1305, allocations: 259.4 kB / 472.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.1305, allocations: 63.11 kB / 472.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/0.1306, allocations: 62.09 kB / 472.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1308, allocations: 350.7 kB / 472.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1309, allocations: 96.22 kB / 472.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.1312, allocations: 201.3 kB / 473.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.1316, allocations: 326.5 kB / 473.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1316, allocations: 0 / 473.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008644/0.1324, allocations: 473.8 kB / 473.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1325, allocations: 4 kB / 473.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005902/0.1331, allocations: 319.3 kB / 474.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.1336, allocations: 148.7 kB / 474.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.1338, allocations: 55.91 kB / 474.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.1366, allocations: 2.435 MB / 476.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.1368, allocations: 15.98 kB / 476.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1368, allocations: 12 kB / 476.9 MB, free: 4.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002511/0.1371, allocations: 189.7 kB / 477 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.1372, allocations: 23.72 kB / 477.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.1376, allocations: 275.3 kB / 477.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1376, allocations: 4 kB / 477.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.1376, allocations: 0 / 477.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1376, allocations: 0 / 477.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1388, allocations: 0.7467 MB / 478.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1388, allocations: 0 / 478.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.139, allocations: 39.97 kB / 478.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.1391, allocations: 36.83 kB / 478.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1391, allocations: 0 / 478.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1392, allocations: 4 kB / 478.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1392, allocations: 4.062 kB / 478.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.1397, allocations: 453.5 kB / 478.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.1398, allocations: 100.7 kB / 478.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.1398, allocations: 12.03 kB / 478.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.14, allocations: 8 kB / 478.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.14, allocations: 15.92 kB / 478.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.14, allocations: 7.984 kB / 478.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.1403, allocations: 223 kB / 479 MB, free: 1.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1403, allocations: 0 / 479 MB, free: 1.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.1407, allocations: 84 kB / 479.1 MB, free: 1.723 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001253/0.1408, allocations: 115.2 kB / 479.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006906/0.1415, allocations: 426.2 kB / 479.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1416, allocations: 0.875 kB / 479.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.1418, allocations: 189.9 kB / 479.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.1423, allocations: 60.17 kB / 479.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1438, allocations: 0.9158 MB / 480.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.1442, allocations: 0.8419 MB / 481.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.1443, allocations: 27.44 kB / 481.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1443, allocations: 0 / 481.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Templates: time 0.008211/0.1525, allocations: 5.71 MB / 487.3 MB, free: 9.352 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)