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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009762/0.0009761, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.0009876/0.0009876, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.578/1.578, allocations: 205.1 MB / 224.5 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.1726/0.1726, allocations: 37.98 MB / 309.8 MB, free: 5.965 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.001504/0.001504, allocations: 72.38 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2453, allocations: 55.24 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005601/0.2509, allocations: 4.567 MB / 436.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.2532, allocations: 1.52 MB / 438.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.2534, allocations: 15.88 kB / 438.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.2544, allocations: 380.8 kB / 438.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.2548, allocations: 242.8 kB / 438.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.2555, allocations: 243.4 kB / 439 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.2559, allocations: 0.565 MB / 439.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.2563, allocations: 334.5 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.2565, allocations: 254.9 kB / 440.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.2568, allocations: 311 kB / 440.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.2569, allocations: 39.94 kB / 440.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.2571, allocations: 143.8 kB / 440.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.2573, allocations: 227.5 kB / 440.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.2574, allocations: 250.7 kB / 441.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.2578, allocations: 0.5957 MB / 441.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2578, allocations: 0 / 441.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2578, allocations: 4 kB / 441.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2579, allocations: 0 / 441.7 MB, free: 9.812 MB / 318.1 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.001091/0.259, allocations: 0.766 MB / 442.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.259, allocations: 11.89 kB / 442.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.2595, allocations: 96.22 kB / 442.5 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/0.2601, allocations: 416.1 kB / 442.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2601, allocations: 33.36 kB / 443 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.2603, allocations: 52.12 kB / 443 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.2609, allocations: 0.6411 MB / 443.7 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2609, allocations: 7.984 kB / 443.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.261, allocations: 27.92 kB / 443.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.2611, allocations: 32.98 kB / 443.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.2617, allocations: 479.5 kB / 444.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.264, allocations: 3.006 MB / 447.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.2642, allocations: 185 kB / 447.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.2644, allocations: 105.7 kB / 447.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.2644, allocations: 4 kB / 447.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.2644, allocations: 38.56 kB / 447.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.2644, allocations: 0 / 447.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001035/0.2655, allocations: 0.8473 MB / 448.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2655, allocations: 89.23 kB / 448.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.2657, allocations: 341.5 kB / 448.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2658, allocations: 29.7 kB / 448.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2659, allocations: 302.9 kB / 449.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.2659, allocations: 82.92 kB / 449.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.266, allocations: 86.03 kB / 449.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.2661, allocations: 346.8 kB / 449.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2663, allocations: 124.8 kB / 449.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.2665, allocations: 330.8 kB / 450.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.2669, allocations: 0.4939 MB / 450.6 MB, free: 268 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2669, allocations: 4 kB / 450.6 MB, free: 264 kB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008783/0.2678, allocations: 0.5605 MB / 451.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2678, allocations: 16.12 kB / 451.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005004/0.2683, allocations: 276.4 kB / 451.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/0.2687, allocations: 80.78 kB / 451.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.269, allocations: 91.83 kB / 451.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.2706, allocations: 1.73 MB / 453.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.2709, allocations: 20 kB / 453.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.2709, allocations: 16 kB / 453.3 MB, free: 13.3 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.2711, allocations: 225.7 kB / 453.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.2712, allocations: 31.61 kB / 453.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.2717, allocations: 296.8 kB / 453.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2717, allocations: 0 / 453.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.2717, allocations: 4 kB / 453.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2717, allocations: 0 / 453.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.2728, allocations: 0.7965 MB / 454.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2729, allocations: 0 / 454.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.2731, allocations: 51.91 kB / 454.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2732, allocations: 4 kB / 454.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2732, allocations: 11.98 kB / 454.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2732, allocations: 4 kB / 454.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2732, allocations: 8 kB / 454.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.2737, allocations: 469.4 kB / 455.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.2738, allocations: 112.6 kB / 455.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.2739, allocations: 8 kB / 455.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2741, allocations: 11.97 kB / 455.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.2741, allocations: 19.98 kB / 455.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.2741, allocations: 4 kB / 455.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.2744, allocations: 235.2 kB / 455.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2744, allocations: 0 / 455.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.2748, allocations: 95.98 kB / 455.7 MB, free: 10.83 MB / 334.1 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 (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.0001138/0.2749, allocations: 103.2 kB / 455.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006806/0.2756, allocations: 447.8 kB / 456.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2756, allocations: 0 / 456.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2758, allocations: 115.8 kB / 456.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.2763, allocations: 76.64 kB / 456.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.2777, allocations: 0.9771 MB / 457.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.2782, allocations: 0.874 MB / 458.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.2784, allocations: 111.2 kB / 458.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.2785, allocations: 31.44 kB / 458.4 MB, free: 8.035 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2785, allocations: 0 / 458.4 MB, free: 8.035 MB / 334.1 MB Notification: Performance of Templates: time 0.007081/0.2856, allocations: 3.524 MB / 461.9 MB, free: 4.527 MB / 334.1 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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)