Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001396/0.0014, allocations: 187.5 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.696/1.696, allocations: 194.5 MB / 211.6 MB, free: 8.492 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001782/0.001782, allocations: 116.6 kB / 256.9 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2159/0.2159, allocations: 38.01 MB / 340.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.000443, allocations: 16.38 kB / 403.8 MB, free: 55.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06563/0.06609, allocations: 53.23 MB / 457 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004113/0.07025, allocations: 4.359 MB / 461.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.07257, allocations: 1.654 MB / 463 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.07282, allocations: 31.81 kB / 463.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.07299, allocations: 67.56 kB / 463.1 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.07355, allocations: 259.2 kB / 463.4 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.0742, allocations: 243.4 kB / 463.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.07459, allocations: 351.7 kB / 464 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006476/0.07526, allocations: 484.1 kB / 464.4 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.07555, allocations: 207.2 kB / 464.6 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.07598, allocations: 299.1 kB / 464.9 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.07605, allocations: 20 kB / 465 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.07626, allocations: 91.86 kB / 465 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.07645, allocations: 203.5 kB / 465.2 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.07656, allocations: 117.4 kB / 465.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.07698, allocations: 486.8 kB / 465.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.312e-06/0.077, allocations: 0 / 465.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.786e-06/0.07701, allocations: 0 / 465.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.07702, allocations: 0 / 465.8 MB, free: 1.629 MB / 298.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.001497/0.07853, allocations: 0.797 MB / 466.6 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.07857, allocations: 12.02 kB / 466.6 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/0.07914, allocations: 99.19 kB / 466.7 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.08011, allocations: 474.8 kB / 467.2 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.08016, allocations: 33 kB / 467.2 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.08029, allocations: 51.94 kB / 467.3 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.08154, allocations: 0.688 MB / 468 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.08159, allocations: 3.938 kB / 468 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.08166, allocations: 16 kB / 468 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.08181, allocations: 32.98 kB / 468 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.08292, allocations: 0.5189 MB / 468.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004579/0.08751, allocations: 3.133 MB / 471.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.08823, allocations: 317.3 kB / 472 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.08828, allocations: 8.047 kB / 472 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.08832, allocations: 38.56 kB / 472 MB, free: 11.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.488e-06/0.08834, allocations: 4 kB / 472 MB, free: 11.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002537/0.09088, allocations: 1.204 MB / 473.2 MB, free: 9.832 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.09099, allocations: 85.11 kB / 473.3 MB, free: 9.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.09153, allocations: 385.5 kB / 473.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.09159, allocations: 33.7 kB / 473.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.09186, allocations: 295.3 kB / 474 MB, free: 9.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.09199, allocations: 118.4 kB / 474.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.09204, allocations: 12 kB / 474.1 MB, free: 8.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.09223, allocations: 354.7 kB / 474.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.09261, allocations: 189 kB / 474.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.09313, allocations: 377.5 kB / 475 MB, free: 7.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.09368, allocations: 263.7 kB / 475.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.629e-06/0.0937, allocations: 3.938 kB / 475.3 MB, free: 7.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002421/0.09613, allocations: 0.8452 MB / 476.2 MB, free: 6.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.09619, allocations: 11.98 kB / 476.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.09621, allocations: 4 kB / 476.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.09792, allocations: 306 kB / 476.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007339/0.09867, allocations: 143.8 kB / 476.6 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.105, allocations: 3.91 MB / 480.5 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.1054, allocations: 36.03 kB / 480.6 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.1054, allocations: 24 kB / 480.6 MB, free: 2.066 MB / 314.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003782/0.1058, allocations: 221.4 kB / 480.8 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1059, allocations: 43.42 kB / 480.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009401/0.1069, allocations: 489.2 kB / 481.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.978e-06/0.1069, allocations: 4 kB / 481.3 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.624e-06/0.1069, allocations: 3.953 kB / 481.3 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.946e-06/0.107, allocations: 7.984 kB / 481.3 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.1088, allocations: 1.023 MB / 482.4 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-06/0.1088, allocations: 0 / 482.4 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.1094, allocations: 87.95 kB / 482.4 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.574e-06/0.1094, allocations: 11.94 kB / 482.5 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.1094, allocations: 12 kB / 482.5 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.192e-06/0.1094, allocations: 0 / 482.5 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1095, allocations: 0 / 482.5 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.1107, allocations: 0.7898 MB / 483.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1109, allocations: 112.6 kB / 483.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.1109, allocations: 20.05 kB / 483.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.1113, allocations: 12.08 kB / 483.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.1114, allocations: 27.91 kB / 483.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.1115, allocations: 8 kB / 483.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003807/0.1118, allocations: 271.1 kB / 483.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.09e-07/0.1119, allocations: 0 / 483.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005808/0.1124, allocations: 128 kB / 483.8 MB, free: 14.68 MB / 330.7 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 (39): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001372/0.1126, allocations: 107.2 kB / 483.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.1143, allocations: 0.803 MB / 484.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.968e-06/0.1143, allocations: 0 / 484.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.1147, allocations: 200.1 kB / 484.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.1152, allocations: 81.97 kB / 485 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.1177, allocations: 1.531 MB / 486.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.1183, allocations: 0.9096 MB / 487.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004565/0.1188, allocations: 135.3 kB / 487.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.119, allocations: 39.44 kB / 487.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.191e-06/0.119, allocations: 0 / 487.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of Templates: time 0.01362/0.1326, allocations: 5.673 MB / 493.3 MB, free: 5.137 MB / 330.7 MB