Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 111.6 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.001246/0.001246, allocations: 192 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.553/1.553, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2067/0.2067, allocations: 37.98 MB / 309.8 MB, free: 5.973 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.001904/0.001904, allocations: 63.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 55.25 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005432/0.3482, allocations: 4.481 MB / 436.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.3509, allocations: 1.574 MB / 438.1 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.3512, allocations: 19.88 kB / 438.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.3523, allocations: 288.9 kB / 438.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.3529, allocations: 266.7 kB / 438.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.3536, allocations: 263.3 kB / 438.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000609/0.3542, allocations: 0.6312 MB / 439.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.3546, allocations: 288.6 kB / 439.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.3549, allocations: 279 kB / 440.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.3554, allocations: 390.8 kB / 440.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.3555, allocations: 40 kB / 440.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.3558, allocations: 151.7 kB / 440.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.3561, allocations: 239.4 kB / 440.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.3563, allocations: 274.6 kB / 441.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.3568, allocations: 0.6619 MB / 441.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3568, allocations: 0 / 441.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3569, allocations: 0 / 441.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3569, allocations: 0 / 441.8 MB, free: 9.66 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.001802/0.3587, allocations: 0.8806 MB / 442.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3587, allocations: 15.89 kB / 442.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/0.3592, allocations: 92.22 kB / 442.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.3601, allocations: 499.8 kB / 443.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3601, allocations: 33.38 kB / 443.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3603, allocations: 56.11 kB / 443.4 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.361, allocations: 0.6839 MB / 444.1 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.3611, allocations: 11.94 kB / 444.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.3611, allocations: 16 kB / 444.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.971e-05/0.3612, allocations: 40.97 kB / 444.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.3619, allocations: 0.5229 MB / 444.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.365, allocations: 3.098 MB / 447.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.3655, allocations: 328.9 kB / 448.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.3657, allocations: 173.7 kB / 448.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.3658, allocations: 8.484 kB / 448.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3658, allocations: 38.56 kB / 448.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.3658, allocations: 0 / 448.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00184/0.3677, allocations: 1.217 MB / 449.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3677, allocations: 81.11 kB / 449.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.3681, allocations: 393.5 kB / 450 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.3681, allocations: 33.83 kB / 450 MB, free: 1.055 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3683, allocations: 303.2 kB / 450.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.3684, allocations: 126.2 kB / 450.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3686, allocations: 102.1 kB / 450.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3687, allocations: 354.7 kB / 450.9 MB, free: 168 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.369, allocations: 189 kB / 451 MB, free: 15.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.3696, allocations: 393.5 kB / 451.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000918/0.3705, allocations: 0.597 MB / 452 MB, free: 14.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3705, allocations: 0 / 452 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001888/0.3724, allocations: 0.8299 MB / 452.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3724, allocations: 8 kB / 452.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3725, allocations: 4 kB / 452.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.3737, allocations: 269.8 kB / 453.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.3744, allocations: 139.8 kB / 453.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.3797, allocations: 4.045 MB / 457.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.3801, allocations: 23.98 kB / 457.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.3801, allocations: 27.98 kB / 457.4 MB, free: 9.18 MB / 334.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003029/0.3805, allocations: 221.7 kB / 457.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.3805, allocations: 39.53 kB / 457.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008149/0.3814, allocations: 481.1 kB / 458.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3814, allocations: 4 kB / 458.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3814, allocations: 7.938 kB / 458.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3814, allocations: 3.984 kB / 458.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.3829, allocations: 1.015 MB / 459.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3829, allocations: 0 / 459.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.3834, allocations: 91.83 kB / 459.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3834, allocations: 3.984 kB / 459.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3835, allocations: 8 kB / 459.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3835, allocations: 4 kB / 459.2 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3835, allocations: 3.938 kB / 459.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.3845, allocations: 0.74 MB / 460 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.3847, allocations: 120.7 kB / 460.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.3847, allocations: 15.88 kB / 460.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.385, allocations: 19.97 kB / 460.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.385, allocations: 19.97 kB / 460.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3851, allocations: 19.94 kB / 460.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002768/0.3854, allocations: 271.1 kB / 460.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3854, allocations: 0 / 460.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005984/0.386, allocations: 120 kB / 460.5 MB, free: 5.879 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001822/0.3862, allocations: 107.2 kB / 460.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.3879, allocations: 0.7986 MB / 461.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3879, allocations: 0 / 461.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.3882, allocations: 203.9 kB / 461.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.3888, allocations: 88.19 kB / 461.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.3922, allocations: 1.471 MB / 463.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.3928, allocations: 0.8937 MB / 464.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.3932, allocations: 131.3 kB / 464.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3933, allocations: 39.44 kB / 464.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3933, allocations: 0 / 464.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Templates: time 0.01201/0.4053, allocations: 6.119 MB / 470.4 MB, free: 11.96 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)