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 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.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.001171/0.001171, allocations: 94.14 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.001206/0.001206, allocations: 183.6 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.631/1.631, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3496/0.3496, allocations: 38.05 MB / 309.7 MB, free: 8.836 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.0005212/0.0005216, allocations: 12 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 56.34 MB / 432.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005596/0.1205, allocations: 4.421 MB / 437.2 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1233, allocations: 1.459 MB / 438.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/0.1238, allocations: 27.81 kB / 438.7 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.1244, allocations: 91.45 kB / 438.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009252/0.1254, allocations: 215.3 kB / 439 MB, free: 492 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.1261, allocations: 163.6 kB / 439.2 MB, free: 328 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.1267, allocations: 287.5 kB / 439.5 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.1278, allocations: 0.523 MB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.1282, allocations: 183.3 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.1288, allocations: 175.4 kB / 440.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.623e-05/0.1288, allocations: 16 kB / 440.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.1291, allocations: 79.86 kB / 440.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.1293, allocations: 159.6 kB / 440.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1295, allocations: 105.5 kB / 440.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.1301, allocations: 391 kB / 441.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1302, allocations: 0 / 441.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1302, allocations: 0 / 441.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.1302, allocations: 0 / 441.1 MB, free: 14.39 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001594/0.1318, allocations: 0.6365 MB / 441.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1319, allocations: 12.03 kB / 441.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008087/0.1327, allocations: 91.38 kB / 441.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/0.1335, allocations: 382.1 kB / 442.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.1335, allocations: 28.98 kB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.1337, allocations: 36 kB / 442.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.1344, allocations: 480.8 kB / 442.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1344, allocations: 3.953 kB / 442.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.1345, allocations: 12 kB / 442.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.1346, allocations: 28.98 kB / 442.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.1351, allocations: 347.7 kB / 443.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.138, allocations: 1.725 MB / 444.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.1384, allocations: 149.2 kB / 445 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1385, allocations: 4 kB / 445 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1385, allocations: 38.56 kB / 445 MB, free: 10.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 5.019e-06/0.1385, allocations: 0 / 445 MB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001695/0.1402, allocations: 0.8887 MB / 445.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.1404, allocations: 92.97 kB / 446 MB, free: 9.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.1407, allocations: 308.4 kB / 446.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1407, allocations: 29.7 kB / 446.3 MB, free: 8.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.1409, allocations: 251.5 kB / 446.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.141, allocations: 59.11 kB / 446.6 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.141, allocations: 8 kB / 446.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.1413, allocations: 342.8 kB / 447 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1415, allocations: 100.2 kB / 447.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.1417, allocations: 193.2 kB / 447.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.1419, allocations: 140.6 kB / 447.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.142, allocations: 4 kB / 447.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008394/0.1428, allocations: 480 kB / 447.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1428, allocations: 12.06 kB / 447.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005611/0.1434, allocations: 304.5 kB / 448.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/0.1439, allocations: 136.7 kB / 448.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.1441, allocations: 55.91 kB / 448.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.147, allocations: 2.36 MB / 450.7 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1473, allocations: 11.98 kB / 450.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1473, allocations: 16 kB / 450.8 MB, free: 4.105 MB / 382.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 (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.0002556/0.1476, allocations: 193.7 kB / 450.9 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.1476, allocations: 27.62 kB / 451 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.1481, allocations: 273.3 kB / 451.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1481, allocations: 0 / 451.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1481, allocations: 0 / 451.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1481, allocations: 4 kB / 451.2 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1493, allocations: 0.7428 MB / 452 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1493, allocations: 4 kB / 452 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.1495, allocations: 31.98 kB / 452 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.1496, allocations: 36.83 kB / 452.1 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.1497, allocations: 8 kB / 452.1 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1497, allocations: 7.984 kB / 452.1 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1497, allocations: 0 / 452.1 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.1502, allocations: 475.4 kB / 452.5 MB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.1504, allocations: 112.7 kB / 452.6 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.1504, allocations: 8 kB / 452.7 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1506, allocations: 8.234 kB / 452.7 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1506, allocations: 19.98 kB / 452.7 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1506, allocations: 8 kB / 452.7 MB, free: 2.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.1508, allocations: 223 kB / 452.9 MB, free: 1.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1508, allocations: 0 / 452.9 MB, free: 1.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.1513, allocations: 84 kB / 453 MB, free: 1.711 MB / 382.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 (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.000176/0.1515, allocations: 103.2 kB / 453.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.1521, allocations: 399 kB / 453.5 MB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1521, allocations: 0 / 453.5 MB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.1523, allocations: 182 kB / 453.7 MB, free: 1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.1527, allocations: 57 kB / 453.7 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1859/0.3386, allocations: 1.083 MB / 454.8 MB, free: 51.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.339, allocations: 0.8491 MB / 455.6 MB, free: 50.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.3392, allocations: 60.23 kB / 455.7 MB, free: 50.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.3393, allocations: 28.42 kB / 455.7 MB, free: 50.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3393, allocations: 2.531 kB / 455.7 MB, free: 50.5 MB / 382.1 MB Notification: Performance of Templates: time 0.006227/0.3455, allocations: 3.489 MB / 459.2 MB, free: 50.41 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: