Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002425/0.002425, allocations: 183.2 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 102.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2651/0.2651, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 16 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 56.32 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007556/0.1215, allocations: 4.432 MB / 483.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.1253, allocations: 1.443 MB / 484.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.1258, allocations: 27.81 kB / 484.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.1263, allocations: 99.38 kB / 485 MB, free: 12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009568/0.1273, allocations: 215.4 kB / 485.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008322/0.1282, allocations: 159.6 kB / 485.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006873/0.1289, allocations: 291.4 kB / 485.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.1302, allocations: 0.5192 MB / 486.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.1307, allocations: 187.2 kB / 486.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/0.1312, allocations: 179.4 kB / 486.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.1313, allocations: 20 kB / 486.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1317, allocations: 71.94 kB / 486.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.1319, allocations: 159.6 kB / 486.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1321, allocations: 101.5 kB / 486.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000682/0.1328, allocations: 395 kB / 487.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1328, allocations: 0 / 487.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1328, allocations: 0 / 487.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1329, allocations: 0 / 487.3 MB, free: 9.707 MB / 330.7 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.0016/0.1345, allocations: 0.6289 MB / 487.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1345, allocations: 12.02 kB / 487.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.1355, allocations: 95.31 kB / 488 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/0.1365, allocations: 398 kB / 488.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.1365, allocations: 21 kB / 488.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.1367, allocations: 43.98 kB / 488.5 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1379, allocations: 468.8 kB / 488.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.1379, allocations: 7.938 kB / 488.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.138, allocations: 15.98 kB / 489 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.1382, allocations: 24.95 kB / 489 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.1391, allocations: 347.7 kB / 489.3 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.1426, allocations: 1.725 MB / 491 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.1431, allocations: 157.1 kB / 491.2 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1432, allocations: 3.984 kB / 491.2 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.1432, allocations: 38.62 kB / 491.2 MB, free: 5.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 3.496e-06/0.1432, allocations: 3.938 kB / 491.2 MB, free: 5.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002323/0.1456, allocations: 0.8776 MB / 492.1 MB, free: 4.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1457, allocations: 81.11 kB / 492.2 MB, free: 4.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.1462, allocations: 308.5 kB / 492.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.1462, allocations: 29.7 kB / 492.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.1464, allocations: 309.8 kB / 492.8 MB, free: 3.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.1465, allocations: 55.33 kB / 492.9 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.1466, allocations: 8 kB / 492.9 MB, free: 3.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1467, allocations: 330.8 kB / 493.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.147, allocations: 96.22 kB / 493.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.1474, allocations: 205.1 kB / 493.5 MB, free: 3.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.1477, allocations: 136.6 kB / 493.6 MB, free: 2.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1477, allocations: 0 / 493.6 MB, free: 2.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00149/0.1492, allocations: 468 kB / 494.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1493, allocations: 4 kB / 494.1 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001017/0.1503, allocations: 308.4 kB / 494.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008127/0.1511, allocations: 136.7 kB / 494.5 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.1515, allocations: 64.06 kB / 494.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/0.1559, allocations: 2.333 MB / 496.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.1563, allocations: 19.94 kB / 497 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.1564, allocations: 20 kB / 497 MB, free: 15.4 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003456/0.1568, allocations: 189.6 kB / 497.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.1568, allocations: 31.62 kB / 497.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007819/0.1576, allocations: 261.4 kB / 497.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.1577, allocations: 4 kB / 497.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1577, allocations: 4.203 kB / 497.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.1577, allocations: 0 / 497.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.1596, allocations: 0.7505 MB / 498.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1596, allocations: 0 / 498.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.16, allocations: 39.97 kB / 498.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.1602, allocations: 36.83 kB / 498.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.1603, allocations: 8.062 kB / 498.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.1603, allocations: 4 kB / 498.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.1603, allocations: 7.938 kB / 498.3 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/0.1612, allocations: 479.6 kB / 498.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1614, allocations: 104.9 kB / 498.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.1615, allocations: 8 kB / 498.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.1617, allocations: 11.94 kB / 498.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.1618, allocations: 19.92 kB / 498.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1618, allocations: 4 kB / 498.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003344/0.1622, allocations: 211.1 kB / 499.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1622, allocations: 0 / 499.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006701/0.1629, allocations: 92 kB / 499.2 MB, free: 13.02 MB / 346.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.163, allocations: 107.2 kB / 499.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1641, allocations: 402.6 kB / 499.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1641, allocations: 0 / 499.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.1645, allocations: 181.8 kB / 499.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.1651, allocations: 49.75 kB / 499.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.1674, allocations: 1.146 MB / 0.4893 GB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.168, allocations: 0.8458 MB / 0.4902 GB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.1682, allocations: 31.38 kB / 0.4902 GB, free: 10.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.093e-06/0.1682, allocations: 0 / 0.4902 GB, free: 10.16 MB / 346.7 MB Notification: Performance of Templates: time 0.0129/0.1811, allocations: 5.51 MB / 0.4956 GB, free: 4.648 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)