Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003049/0.003054, allocations: 183.2 kB / 15.77 MB, free: 6.379 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.055/2.055, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001125/0.001125, allocations: 106.8 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2786/0.2786, allocations: 38.05 MB / 356.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006481/0.0006484, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1115, allocations: 56.32 MB / 479 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007484/0.1191, allocations: 4.447 MB / 483.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.1232, allocations: 1.603 MB / 485.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.1237, allocations: 27.81 kB / 485.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.124, allocations: 75.5 kB / 485.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.125, allocations: 223.3 kB / 485.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1261, allocations: 235.5 kB / 485.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007058/0.1269, allocations: 303.7 kB / 485.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.1282, allocations: 0.528 MB / 486.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.1287, allocations: 187.3 kB / 486.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.1292, allocations: 219.3 kB / 486.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.1293, allocations: 16 kB / 486.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.1297, allocations: 91.86 kB / 487 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.13, allocations: 191.5 kB / 487.1 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.1302, allocations: 105.5 kB / 487.2 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.131, allocations: 454.8 kB / 487.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.131, allocations: 0 / 487.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.131, allocations: 0 / 487.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.131, allocations: 0 / 487.7 MB, free: 9.32 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001768/0.1328, allocations: 0.688 MB / 488.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1329, allocations: 12.03 kB / 488.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009666/0.1338, allocations: 91.28 kB / 488.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.1348, allocations: 387 kB / 488.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.1349, allocations: 40.98 kB / 488.9 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.1351, allocations: 47.98 kB / 488.9 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.1366, allocations: 0.6371 MB / 489.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.1366, allocations: 7.875 kB / 489.6 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.1367, allocations: 23.98 kB / 489.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.1369, allocations: 28.98 kB / 489.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.1382, allocations: 475.5 kB / 490.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/0.1441, allocations: 3.01 MB / 493.1 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.1447, allocations: 189 kB / 493.3 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.1447, allocations: 4.062 kB / 493.3 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1448, allocations: 30.56 kB / 493.3 MB, free: 3.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 3.788e-06/0.1448, allocations: 0 / 493.3 MB, free: 3.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.002236/0.147, allocations: 0.8508 MB / 494.2 MB, free: 2.418 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.1471, allocations: 81.11 kB / 494.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/0.1477, allocations: 345.5 kB / 494.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.1477, allocations: 29.7 kB / 494.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.148, allocations: 357.4 kB / 495 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1481, allocations: 78.94 kB / 495.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.1482, allocations: 8 kB / 495.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1484, allocations: 338.8 kB / 495.4 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.1487, allocations: 120.8 kB / 495.5 MB, free: 1.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.1492, allocations: 339 kB / 495.8 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.1497, allocations: 191.7 kB / 496 MB, free: 440 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1498, allocations: 8 kB / 496 MB, free: 432 kB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001636/0.1514, allocations: 0.5378 MB / 496.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.1515, allocations: 8 kB / 496.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008778/0.1523, allocations: 268.7 kB / 496.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.1529, allocations: 93.36 kB / 496.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.1536, allocations: 91.83 kB / 497 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.1561, allocations: 1.624 MB / 498.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.1566, allocations: 23.89 kB / 498.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.1567, allocations: 24 kB / 498.7 MB, free: 13.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003808/0.1571, allocations: 209.6 kB / 498.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.1572, allocations: 35.62 kB / 498.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/0.158, allocations: 285 kB / 499.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.158, allocations: 11.94 kB / 499.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.158, allocations: 0 / 499.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.158, allocations: 0 / 499.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.16, allocations: 0.7901 MB / 0.4883 GB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.16, allocations: 0 / 0.4883 GB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.1606, allocations: 63.92 kB / 0.4884 GB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.1606, allocations: 288 / 0.4884 GB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.1607, allocations: 8 kB / 0.4884 GB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.1607, allocations: 7.984 kB / 0.4884 GB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1607, allocations: 0 / 0.4884 GB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1618, allocations: 0.5072 MB / 0.4889 GB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.1619, allocations: 112.7 kB / 0.489 GB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.162, allocations: 8 kB / 0.489 GB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.1623, allocations: 11.98 kB / 0.489 GB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.1623, allocations: 15.98 kB / 0.489 GB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.1624, allocations: 7.953 kB / 0.489 GB, free: 11.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.1628, allocations: 239.2 kB / 0.4892 GB, free: 11.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1628, allocations: 0 / 0.4892 GB, free: 11.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007045/0.1635, allocations: 92 kB / 0.4893 GB, free: 11.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.1637, allocations: 107.2 kB / 0.4894 GB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.1649, allocations: 451.1 kB / 0.4899 GB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1649, allocations: 0 / 0.4899 GB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.1652, allocations: 115.8 kB / 0.49 GB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.1658, allocations: 59.77 kB / 0.49 GB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.1685, allocations: 1.259 MB / 0.4913 GB, free: 9.055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.1692, allocations: 0.8782 MB / 0.4921 GB, free: 8.152 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.1694, allocations: 31.42 kB / 0.4922 GB, free: 8.121 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1694, allocations: 4 kB / 0.4922 GB, free: 8.117 MB / 346.7 MB Notification: Performance of Templates: time 0.01397/0.1834, allocations: 5.469 MB / 0.4975 GB, free: 2.637 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)