Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001317/0.001317, allocations: 185 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.366/1.366, allocations: 194.3 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 116.7 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.16/0.16, allocations: 37.93 MB / 330.9 MB, free: 2.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.465e-05, allocations: 4 kB / 390.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2576, allocations: 53.22 MB / 443.6 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.38, allocations: 95.19 MB / 0.5262 GB, free: 2.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.3804, allocations: 83.95 kB / 0.5262 GB, free: 2.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2805/0.661, allocations: 12.46 MB / 0.5384 GB, free: 89.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.661, allocations: 4 kB / 0.5384 GB, free: 89.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.942e-05/0.6611, allocations: 18.05 kB / 0.5384 GB, free: 89.45 MB / 378.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.001525/0.6626, allocations: 0.6602 MB / 0.5391 GB, free: 88.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6627, allocations: 9.5 kB / 0.5391 GB, free: 88.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/0.6637, allocations: 97.3 kB / 0.5392 GB, free: 88.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.6671, allocations: 0.842 MB / 0.54 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.6671, allocations: 18.09 kB / 0.54 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.6672, allocations: 23.53 kB / 0.54 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009715/0.6682, allocations: 360.8 kB / 0.5404 GB, free: 88.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.6694, allocations: 0.566 MB / 0.5409 GB, free: 87.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.6694, allocations: 19.44 kB / 0.5409 GB, free: 87.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.6695, allocations: 0 / 0.5409 GB, free: 87.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.323e-05/0.6696, allocations: 27.06 kB / 0.541 GB, free: 87.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.6739, allocations: 2.825 MB / 0.5437 GB, free: 85.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.6744, allocations: 190.9 kB / 0.5439 GB, free: 84.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.6747, allocations: 133.6 kB / 0.544 GB, free: 84.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.6748, allocations: 4 kB / 0.544 GB, free: 84.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.6748, allocations: 30.56 kB / 0.5441 GB, free: 84.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.547e-06/0.6748, allocations: 0 / 0.5441 GB, free: 84.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.002106/0.677, allocations: 0.8362 MB / 0.5449 GB, free: 83.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.677, allocations: 81.3 kB / 0.545 GB, free: 83.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.6774, allocations: 277.9 kB / 0.5452 GB, free: 83.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.6775, allocations: 25.7 kB / 0.5453 GB, free: 83.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.6777, allocations: 287.1 kB / 0.5455 GB, free: 83.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.6778, allocations: 90.66 kB / 0.5456 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.6778, allocations: 0 / 0.5456 GB, free: 83.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.6779, allocations: 358.8 kB / 0.546 GB, free: 82.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.6782, allocations: 132.8 kB / 0.5461 GB, free: 82.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.6786, allocations: 308.4 kB / 0.5464 GB, free: 82.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.6791, allocations: 209.8 kB / 0.5466 GB, free: 82.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.6791, allocations: 0 / 0.5466 GB, free: 82.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001473/0.6806, allocations: 0.5321 MB / 0.5471 GB, free: 81.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6807, allocations: 17.08 kB / 0.5471 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008891/0.6816, allocations: 300.6 kB / 0.5474 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.6822, allocations: 80.78 kB / 0.5475 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.6828, allocations: 95.77 kB / 0.5476 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.6846, allocations: 1.526 MB / 0.5491 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.6851, allocations: 11.98 kB / 0.5491 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.6852, allocations: 23.98 kB / 0.5491 GB, free: 79.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 1 * 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.0001534/0.6854, allocations: 120.9 kB / 0.5492 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.6855, allocations: 31.62 kB / 0.5492 GB, free: 79.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009231/0.6864, allocations: 332.5 kB / 0.5496 GB, free: 78.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.6864, allocations: 7.938 kB / 0.5496 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6865, allocations: 3.953 kB / 0.5496 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6865, allocations: 3.984 kB / 0.5496 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.6883, allocations: 0.7865 MB / 0.5503 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6884, allocations: 0 / 0.5503 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.6889, allocations: 59.91 kB / 0.5504 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.689, allocations: 4 kB / 0.5504 GB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.689, allocations: 11.94 kB / 0.5504 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.689, allocations: 4 kB / 0.5504 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.689, allocations: 0 / 0.5504 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/0.69, allocations: 0.5844 MB / 0.551 GB, free: 77.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.6901, allocations: 104.7 kB / 0.5511 GB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.6902, allocations: 8.031 kB / 0.5511 GB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.6905, allocations: 11.98 kB / 0.5511 GB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.6906, allocations: 15.98 kB / 0.5511 GB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.6906, allocations: 4 kB / 0.5511 GB, free: 77.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002598/0.6909, allocations: 204.6 kB / 0.5513 GB, free: 76.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6909, allocations: 0 / 0.5513 GB, free: 76.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007791/0.6917, allocations: 107.9 kB / 0.5514 GB, free: 76.83 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * 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.0002044/0.6919, allocations: 123.1 kB / 0.5515 GB, free: 76.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009397/0.6929, allocations: 457.2 kB / 0.552 GB, free: 76.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6929, allocations: 0 / 0.552 GB, free: 76.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.6932, allocations: 133.5 kB / 0.5521 GB, free: 76.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.6938, allocations: 59.2 kB / 0.5522 GB, free: 76.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.6956, allocations: 0.7665 MB / 0.5529 GB, free: 75.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.696, allocations: 0.8812 MB / 0.5538 GB, free: 74.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004972/0.6965, allocations: 107.1 kB / 0.5539 GB, free: 74.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.6967, allocations: 35.44 kB / 0.5539 GB, free: 74.21 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6967, allocations: 0 / 0.5539 GB, free: 74.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01107/0.7078, allocations: 3.299 MB / 0.5571 GB, free: 70.93 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)