Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001217/0.001216, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.477/1.477, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001613/0.001614, allocations: 122.3 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1514/0.1514, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.469e-05, allocations: 7.984 kB / 397.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3061, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.4792, allocations: 90.17 MB / 0.5282 GB, free: 3.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.4795, allocations: 87.94 kB / 0.5283 GB, free: 3.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2558/0.7353, allocations: 7.375 MB / 0.5355 GB, free: 87.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.7354, allocations: 0 / 0.5355 GB, free: 87.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.7354, allocations: 7.531 kB / 0.5355 GB, free: 87.7 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007684/0.7362, allocations: 0.5789 MB / 0.5361 GB, free: 87.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.7363, allocations: 12.42 kB / 0.5361 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.7364, allocations: 37.31 kB / 0.5362 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.7382, allocations: 0.7984 MB / 0.5369 GB, free: 86.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.7382, allocations: 19.34 kB / 0.537 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.7383, allocations: 28.62 kB / 0.537 GB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.7388, allocations: 348.4 kB / 0.5373 GB, free: 86.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7388, allocations: 1.375 kB / 0.5373 GB, free: 86.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.7388, allocations: 14.98 kB / 0.5373 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.7389, allocations: 7.062 kB / 0.5373 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.7392, allocations: 232 kB / 0.5376 GB, free: 86.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.7408, allocations: 1.358 MB / 0.5389 GB, free: 85.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.7411, allocations: 162.5 kB / 0.539 GB, free: 85.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.7413, allocations: 102.5 kB / 0.5391 GB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.7414, allocations: 2.281 kB / 0.5391 GB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.7414, allocations: 35.59 kB / 0.5392 GB, free: 85.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.7414, allocations: 1 kB / 0.5392 GB, free: 85.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001/0.7424, allocations: 0.6075 MB / 0.5398 GB, free: 84.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.7425, allocations: 79.2 kB / 0.5398 GB, free: 84.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.7427, allocations: 265.1 kB / 0.5401 GB, free: 84.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.7427, allocations: 27.2 kB / 0.5401 GB, free: 84.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.7428, allocations: 216.1 kB / 0.5403 GB, free: 84.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.7429, allocations: 59.94 kB / 0.5404 GB, free: 84.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.7429, allocations: 4.938 kB / 0.5404 GB, free: 84.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.743, allocations: 338.4 kB / 0.5407 GB, free: 84.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.7431, allocations: 63.52 kB / 0.5408 GB, free: 84.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.7432, allocations: 159.4 kB / 0.5409 GB, free: 83.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.7433, allocations: 90.34 kB / 0.541 GB, free: 83.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.7434, allocations: 5.391 kB / 0.541 GB, free: 83.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005478/0.7439, allocations: 304.1 kB / 0.5413 GB, free: 83.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.7439, allocations: 10.59 kB / 0.5413 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.744, allocations: 3.469 kB / 0.5413 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.7442, allocations: 51.3 kB / 0.5414 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.7444, allocations: 47.72 kB / 0.5414 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.7455, allocations: 1.46 MB / 0.5428 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.7457, allocations: 8.906 kB / 0.5428 GB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.7457, allocations: 16.45 kB / 0.5429 GB, free: 82.38 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.225e-05/0.7458, allocations: 125.2 kB / 0.543 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.7458, allocations: 27.97 kB / 0.543 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.7463, allocations: 226.2 kB / 0.5432 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7463, allocations: 5.547 kB / 0.5432 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.7463, allocations: 5.438 kB / 0.5432 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7463, allocations: 1.344 kB / 0.5432 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007798/0.7471, allocations: 0.6282 MB / 0.5439 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7471, allocations: 0 / 0.5439 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.7472, allocations: 26.31 kB / 0.5439 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.7474, allocations: 54.98 kB / 0.5439 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.7474, allocations: 10.89 kB / 0.5439 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008747/0.7483, allocations: 1.457 MB / 0.5454 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7483, allocations: 0 / 0.5454 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.7487, allocations: 410 kB / 0.5458 GB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.7488, allocations: 110.1 kB / 0.5459 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.7488, allocations: 2.781 kB / 0.5459 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.749, allocations: 4 kB / 0.5459 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.749, allocations: 17.61 kB / 0.5459 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.749, allocations: 7.375 kB / 0.5459 GB, free: 79.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.7492, allocations: 209.7 kB / 0.5461 GB, free: 79.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7492, allocations: 3.844 kB / 0.5461 GB, free: 79.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.7496, allocations: 63.66 kB / 0.5462 GB, free: 79.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete 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): 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.7497, allocations: 115.5 kB / 0.5463 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003805/0.7501, allocations: 286.7 kB / 0.5465 GB, free: 79.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.7501, allocations: 0 / 0.5465 GB, free: 79.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.7504, allocations: 202 kB / 0.5467 GB, free: 79.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.7507, allocations: 55.2 kB / 0.5468 GB, free: 79.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.7515, allocations: 0.528 MB / 0.5473 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.7517, allocations: 0.8164 MB / 0.5481 GB, free: 78.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.7519, allocations: 44.92 kB / 0.5481 GB, free: 78.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.7519, allocations: 26.61 kB / 0.5482 GB, free: 78.33 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.7519, allocations: 0 / 0.5482 GB, free: 78.33 MB / 378.7 MB Notification: Performance of Templates: time 0.005331/0.7573, allocations: 2.702 MB / 0.5508 GB, free: 76.89 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)