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.001244/0.001244, allocations: 179.4 kB / 15.77 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.0007006/0.0007006, allocations: 86.36 kB / 270.3 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1718/0.1718, allocations: 38.06 MB / 356.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 12 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 56.34 MB / 479.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005164/0.1144, allocations: 4.586 MB / 483.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1166, allocations: 1.443 MB / 485.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.1169, allocations: 27.81 kB / 485.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.1172, allocations: 99.28 kB / 485.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.1178, allocations: 270.7 kB / 485.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1182, allocations: 167.7 kB / 485.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006642/0.1189, allocations: 0.6699 MB / 486.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008794/0.1198, allocations: 0.5192 MB / 486.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.1202, allocations: 211 kB / 487 MB, free: 9.969 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.1206, allocations: 275.2 kB / 487.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.1207, allocations: 19.98 kB / 487.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.1209, allocations: 75.81 kB / 487.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1211, allocations: 183.5 kB / 487.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1212, allocations: 101.5 kB / 487.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.1217, allocations: 391 kB / 488.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1217, allocations: 0 / 488.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1217, allocations: 3.938 kB / 488.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1217, allocations: 4 kB / 488.1 MB, free: 8.93 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.00103/0.1227, allocations: 0.6328 MB / 488.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1228, allocations: 8.031 kB / 488.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.1234, allocations: 87.33 kB / 488.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.124, allocations: 382.1 kB / 489.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.1241, allocations: 29 kB / 489.2 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.1242, allocations: 47.97 kB / 489.3 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.1249, allocations: 480.7 kB / 489.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.125, allocations: 0 / 489.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.125, allocations: 12 kB / 489.7 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.1251, allocations: 36.94 kB / 489.8 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/0.1257, allocations: 347.7 kB / 490.1 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.1279, allocations: 1.741 MB / 491.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.1282, allocations: 153.1 kB / 492 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1284, allocations: 113.7 kB / 492.1 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.1284, allocations: 3.984 kB / 492.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1284, allocations: 38.56 kB / 492.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1284, allocations: 0 / 492.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001508/0.1299, allocations: 0.8776 MB / 493 MB, free: 3.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.13, allocations: 85.23 kB / 493.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.1304, allocations: 308.5 kB / 493.4 MB, free: 3.211 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1304, allocations: 29.7 kB / 493.4 MB, free: 3.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1306, allocations: 251.4 kB / 493.7 MB, free: 2.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.1306, allocations: 63.19 kB / 493.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.1307, allocations: 7.984 kB / 493.8 MB, free: 2.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1308, allocations: 346.8 kB / 494.1 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.131, allocations: 96.22 kB / 494.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.1312, allocations: 197.2 kB / 494.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1314, allocations: 140.6 kB / 494.5 MB, free: 2.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1315, allocations: 0 / 494.5 MB, free: 2.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008662/0.1323, allocations: 479.6 kB / 495 MB, free: 1.562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1324, allocations: 8 kB / 495 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005941/0.133, allocations: 312.9 kB / 495.3 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.1334, allocations: 132.7 kB / 495.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.1336, allocations: 59.91 kB / 495.5 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.1363, allocations: 2.19 MB / 497.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1364, allocations: 15.98 kB / 497.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.1365, allocations: 8 kB / 497.7 MB, free: 14.7 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.000204/0.1367, allocations: 197.6 kB / 497.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.1367, allocations: 27.7 kB / 497.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.1372, allocations: 273.3 kB / 498.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1372, allocations: 3.953 kB / 498.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1372, allocations: 4 kB / 498.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1372, allocations: 3.984 kB / 498.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1383, allocations: 0.7507 MB / 499 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1383, allocations: 4.062 kB / 499 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.1385, allocations: 31.98 kB / 499 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.1387, allocations: 40.83 kB / 499 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1387, allocations: 3.984 kB / 499 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1387, allocations: 4 kB / 499 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1387, allocations: 0 / 499 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.1393, allocations: 445.9 kB / 499.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.1394, allocations: 108.8 kB / 499.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1394, allocations: 4 kB / 499.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1396, allocations: 7.984 kB / 499.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1396, allocations: 15.98 kB / 499.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.1396, allocations: 7.938 kB / 499.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.1398, allocations: 223 kB / 499.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1398, allocations: 3.938 kB / 499.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.1402, allocations: 87.95 kB / 499.9 MB, free: 12.36 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.0001139/0.1404, allocations: 99.25 kB / 0.4883 GB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.141, allocations: 406.6 kB / 0.4887 GB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.141, allocations: 4 kB / 0.4887 GB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.1413, allocations: 173.9 kB / 0.4889 GB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1417, allocations: 69.73 kB / 0.4889 GB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.1431, allocations: 1.127 MB / 0.49 GB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.1436, allocations: 0.8419 MB / 0.4908 GB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.1436, allocations: 27.44 kB / 0.4909 GB, free: 9.512 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1436, allocations: 0 / 0.4909 GB, free: 9.512 MB / 346.7 MB Notification: Performance of Templates: time 0.007708/0.1514, allocations: 5.678 MB / 0.4964 GB, free: 3.832 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)