Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 115.1 kB / 17.06 MB, free: 5.965 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.001253/0.001253, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.553/1.553, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1889/0.1889, allocations: 37.99 MB / 309.2 MB, free: 5.941 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.00147/0.00147, allocations: 71.91 kB / 431.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 55.24 MB / 487.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003609/0.1325, allocations: 2.044 MB / 489.2 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.1336, allocations: 0.562 MB / 489.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.1336, allocations: 0 / 489.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.1338, allocations: 7.922 kB / 489.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.1339, allocations: 35.84 kB / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1343, allocations: 59.84 kB / 489.8 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1345, allocations: 67.7 kB / 489.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.1345, allocations: 3.984 kB / 489.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1347, allocations: 27.92 kB / 489.9 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.1347, allocations: 31.83 kB / 490 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1347, allocations: 0 / 490 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.1349, allocations: 75.83 kB / 490 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.135, allocations: 47.78 kB / 490.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.1351, allocations: 43.56 kB / 490.1 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1354, allocations: 155.5 kB / 490.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1354, allocations: 0 / 490.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1354, allocations: 0 / 490.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1354, allocations: 0 / 490.3 MB, free: 5.156 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005633/0.136, allocations: 480.5 kB / 490.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.136, allocations: 11.89 kB / 490.8 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.1361, allocations: 16.69 kB / 490.8 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1363, allocations: 200.5 kB / 491 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1363, allocations: 7.938 kB / 491 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1363, allocations: 0 / 491 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1366, allocations: 134.6 kB / 491.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1366, allocations: 4 kB / 491.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1366, allocations: 0 / 491.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1366, allocations: 0 / 491.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.1367, allocations: 92.3 kB / 491.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.1369, allocations: 205.9 kB / 491.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1371, allocations: 150.9 kB / 491.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1372, allocations: 145.2 kB / 491.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1372, allocations: 3.984 kB / 491.7 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1373, allocations: 34.5 kB / 491.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.302e-06/0.1373, allocations: 0 / 491.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005825/0.1379, allocations: 475.9 kB / 492.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/0.138, allocations: 105.1 kB / 492.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1381, allocations: 146.4 kB / 492.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1381, allocations: 29.73 kB / 492.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1382, allocations: 100.8 kB / 492.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1383, allocations: 130 kB / 492.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.1384, allocations: 33.7 kB / 492.7 MB, free: 2.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1385, allocations: 338.8 kB / 493.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.1386, allocations: 87.97 kB / 493.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.1387, allocations: 95.97 kB / 493.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.139, allocations: 365.3 kB / 493.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1391, allocations: 8.016 kB / 493.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003276/0.1394, allocations: 319.1 kB / 493.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.1395, allocations: 81.64 kB / 494 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1395, allocations: 0 / 494 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1395, allocations: 7.984 kB / 494 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.1395, allocations: 0 / 494 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1395, allocations: 0 / 494 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.1396, allocations: 19.75 kB / 494 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1396, allocations: 15.88 kB / 494 MB, free: 1.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.1399, allocations: 235.4 kB / 494.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.1399, allocations: 23.8 kB / 494.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.1399, allocations: 9.969 kB / 494.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.14, allocations: 0 / 494.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.14, allocations: 0 / 494.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.14, allocations: 0 / 494.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1402, allocations: 241.1 kB / 494.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1402, allocations: 0 / 494.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.1402, allocations: 0 / 494.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1402, allocations: 0 / 494.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1402, allocations: 8 kB / 494.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1402, allocations: 4 kB / 494.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1402, allocations: 0 / 494.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009276/0.1411, allocations: 0.9042 MB / 495.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.1412, allocations: 96.77 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.1413, allocations: 11.98 kB / 495.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.1413, allocations: 4 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1414, allocations: 8 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1414, allocations: 4 kB / 495.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.825e-05/0.1415, allocations: 120 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1415, allocations: 4 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1418, allocations: 59.94 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002643/0.142, allocations: 115.2 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.1435, allocations: 1.589 MB / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1435, allocations: 0 / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.1446, allocations: 1.366 MB / 498.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1449, allocations: 28.09 kB / 498.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.146, allocations: 0.614 MB / 499.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.1464, allocations: 0.7478 MB / 0.4885 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.1464, allocations: 0 / 0.4885 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.1464, allocations: 15.42 kB / 0.4885 GB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1464, allocations: 7.938 kB / 0.4885 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.006012/0.1524, allocations: 2.777 MB / 0.4912 GB, free: 7.945 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)