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.001153/0.001153, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001035/0.001035, allocations: 192 kB / 18.63 MB, free: 4.375 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.519/1.519, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1815/0.1815, allocations: 37.99 MB / 309.8 MB, free: 5.98 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.001737/0.001737, allocations: 67.89 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3241, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007039/0.3312, allocations: 4.57 MB / 436.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.3343, allocations: 1.528 MB / 438.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.3345, allocations: 11.94 kB / 438.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.3358, allocations: 381 kB / 438.5 MB, free: 13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006462/0.3365, allocations: 238.8 kB / 438.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.3373, allocations: 251.4 kB / 439 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006674/0.338, allocations: 0.5611 MB / 439.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004815/0.3385, allocations: 330.5 kB / 439.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.3388, allocations: 251 kB / 440.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.3393, allocations: 315 kB / 440.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.3393, allocations: 36 kB / 440.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.3397, allocations: 143.8 kB / 440.6 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.34, allocations: 235.4 kB / 440.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.3403, allocations: 242.8 kB / 441.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000767/0.341, allocations: 0.5918 MB / 441.7 MB, free: 9.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3411, allocations: 4 kB / 441.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3411, allocations: 0 / 441.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.3411, allocations: 0 / 441.7 MB, free: 9.836 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.001594/0.3427, allocations: 0.7738 MB / 442.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3428, allocations: 11.89 kB / 442.5 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008123/0.3436, allocations: 92.22 kB / 442.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.3444, allocations: 416.1 kB / 442.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.3444, allocations: 29.38 kB / 443 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.3446, allocations: 60.05 kB / 443 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.3455, allocations: 0.6489 MB / 443.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.3456, allocations: 4 kB / 443.7 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.3457, allocations: 16 kB / 443.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.3458, allocations: 32.98 kB / 443.7 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/0.3467, allocations: 479.5 kB / 444.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.3504, allocations: 3.014 MB / 447.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.3507, allocations: 181 kB / 447.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.351, allocations: 105.7 kB / 447.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.351, allocations: 0 / 447.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3511, allocations: 50.42 kB / 447.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.3511, allocations: 4 kB / 447.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001722/0.3528, allocations: 0.8396 MB / 448.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3529, allocations: 77.11 kB / 448.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.3533, allocations: 349.5 kB / 448.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3533, allocations: 25.7 kB / 448.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3535, allocations: 310.9 kB / 449.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.3536, allocations: 83.06 kB / 449.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3538, allocations: 86.03 kB / 449.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3539, allocations: 338.8 kB / 449.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.3542, allocations: 132.8 kB / 449.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.3546, allocations: 322.9 kB / 450.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.3553, allocations: 0.49 MB / 450.6 MB, free: 296 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3553, allocations: 8 kB / 450.6 MB, free: 288 kB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001501/0.3568, allocations: 0.5677 MB / 451.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.3569, allocations: 8 kB / 451.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007882/0.3577, allocations: 268.5 kB / 451.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.3582, allocations: 85.28 kB / 451.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.3588, allocations: 99.83 kB / 451.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.3617, allocations: 1.73 MB / 453.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.3621, allocations: 12 kB / 453.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.3621, allocations: 27.98 kB / 453.4 MB, free: 13.32 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.0002756/0.3624, allocations: 217.7 kB / 453.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.3625, allocations: 31.62 kB / 453.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/0.3632, allocations: 300.8 kB / 453.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3633, allocations: 0 / 453.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.3633, allocations: 0 / 453.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3633, allocations: 4 kB / 453.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.365, allocations: 0.7848 MB / 454.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.365, allocations: 4.062 kB / 454.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.3654, allocations: 63.89 kB / 454.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3654, allocations: 4 kB / 454.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.3655, allocations: 4 kB / 454.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3655, allocations: 4 kB / 454.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3655, allocations: 7.875 kB / 454.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.3663, allocations: 469.5 kB / 455.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3664, allocations: 108.6 kB / 455.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.3665, allocations: 7.938 kB / 455.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.3667, allocations: 15.97 kB / 455.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.3668, allocations: 15.92 kB / 455.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.3668, allocations: 15.98 kB / 455.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.3671, allocations: 231.2 kB / 455.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3671, allocations: 0 / 455.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007189/0.3678, allocations: 100 kB / 455.7 MB, free: 10.85 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.0001713/0.368, allocations: 103.2 kB / 455.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009911/0.369, allocations: 443.5 kB / 456.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3691, allocations: 0 / 456.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.3693, allocations: 123.8 kB / 456.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.37, allocations: 61.34 kB / 456.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.3723, allocations: 0.985 MB / 457.4 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/0.3731, allocations: 0.8701 MB / 458.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003838/0.3735, allocations: 111.2 kB / 458.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3736, allocations: 31.44 kB / 458.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3736, allocations: 0 / 458.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of Templates: time 0.01149/0.3851, allocations: 3.521 MB / 461.9 MB, free: 4.555 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)