Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001398/0.001401, allocations: 184 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.862/1.862, allocations: 194.5 MB / 211.6 MB, free: 7.52 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.001948/0.001948, allocations: 112.6 kB / 256.9 MB, free: 10.14 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.2405/0.2405, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004522, allocations: 21.38 kB / 403.8 MB, free: 55.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06879/0.06926, allocations: 53.22 MB / 457 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003543/0.07285, allocations: 3.524 MB / 460.5 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.07515, allocations: 1.739 MB / 462.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.07531, allocations: 11.94 kB / 462.3 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.07548, allocations: 51.67 kB / 462.3 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.07608, allocations: 243.2 kB / 462.6 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.0764, allocations: 111.7 kB / 462.7 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.07669, allocations: 219.5 kB / 462.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007695/0.07747, allocations: 410.4 kB / 463.3 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.07771, allocations: 139.5 kB / 463.4 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.0779, allocations: 123.6 kB / 463.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.07794, allocations: 15.94 kB / 463.6 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.07837, allocations: 223.6 kB / 463.8 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.0785, allocations: 123.7 kB / 463.9 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.07858, allocations: 81.58 kB / 464 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.079, allocations: 355.1 kB / 464.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.46e-06/0.07902, allocations: 0 / 464.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.07903, allocations: 0 / 464.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.717e-06/0.07905, allocations: 0 / 464.3 MB, free: 2.992 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000626/0.07968, allocations: 0.5456 MB / 464.9 MB, free: 2.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.07973, allocations: 12.02 kB / 464.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.08122, allocations: 147.5 kB / 465 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.08156, allocations: 294.4 kB / 465.3 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.0816, allocations: 20.56 kB / 465.3 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.08167, allocations: 20 kB / 465.4 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.08238, allocations: 439.6 kB / 465.8 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.08241, allocations: 3.938 kB / 465.8 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.08246, allocations: 15.94 kB / 465.8 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.08252, allocations: 24.55 kB / 465.8 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.08323, allocations: 429.9 kB / 466.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.0858, allocations: 1.722 MB / 468 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.08632, allocations: 289.1 kB / 468.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.08638, allocations: 8.234 kB / 468.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.08642, allocations: 34.75 kB / 468.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.058e-06/0.08644, allocations: 0 / 468.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.002222/0.08867, allocations: 0.7859 MB / 469.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.08875, allocations: 81.11 kB / 469.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.08902, allocations: 206.8 kB / 469.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.08907, allocations: 29.7 kB / 469.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.08924, allocations: 188.1 kB / 469.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.662e-05/0.08935, allocations: 78.89 kB / 469.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.08938, allocations: 7.938 kB / 469.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.08957, allocations: 334.8 kB / 470 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.08982, allocations: 104.5 kB / 470.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.09013, allocations: 201 kB / 470.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.09044, allocations: 144.1 kB / 470.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.694e-06/0.09046, allocations: 0 / 470.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001034/0.0915, allocations: 425.9 kB / 470.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.09154, allocations: 11.75 kB / 470.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.395e-06/0.09156, allocations: 0 / 470.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.09203, allocations: 88.78 kB / 471 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.09234, allocations: 55.91 kB / 471 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.09502, allocations: 1.838 MB / 472.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.09527, allocations: 12 kB / 472.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.09533, allocations: 15.98 kB / 472.9 MB, free: 9.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.09558, allocations: 169.7 kB / 473 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.09569, allocations: 23.81 kB / 473.1 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009616/0.09667, allocations: 388 kB / 473.4 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.09669, allocations: 7.938 kB / 473.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.165e-06/0.09671, allocations: 0 / 473.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.045e-06/0.09672, allocations: 0 / 473.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.09873, allocations: 0.9198 MB / 474.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-06/0.09876, allocations: 0 / 474.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.09897, allocations: 31.98 kB / 474.4 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.09936, allocations: 77.22 kB / 474.5 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.0994, allocations: 8 kB / 474.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.1019, allocations: 1.736 MB / 476.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.944e-06/0.1019, allocations: 3.938 kB / 476.2 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.1028, allocations: 493.1 kB / 476.7 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.103, allocations: 92.92 kB / 476.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.103, allocations: 19.94 kB / 476.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1032, allocations: 8 kB / 476.8 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.1033, allocations: 19.97 kB / 476.8 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.1033, allocations: 8 kB / 476.8 MB, free: 5.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.1035, allocations: 156.2 kB / 477 MB, free: 5.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.1036, allocations: 0 / 477 MB, free: 5.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006602/0.1042, allocations: 84 kB / 477.1 MB, free: 5.398 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * 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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.1044, allocations: 107.3 kB / 477.2 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009568/0.1054, allocations: 427 kB / 477.6 MB, free: 4.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.425e-06/0.1054, allocations: 0 / 477.6 MB, free: 4.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.106, allocations: 282.8 kB / 477.9 MB, free: 4.562 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1063, allocations: 27.94 kB / 477.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1077, allocations: 0.7282 MB / 478.6 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.1083, allocations: 0.807 MB / 479.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.1085, allocations: 54.05 kB / 479.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.1086, allocations: 23.42 kB / 479.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of SimCode: time 1.366e-06/0.1086, allocations: 0 / 479.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of Templates: time 0.008169/0.1168, allocations: 2.712 MB / 482.2 MB, free: 156 kB / 314.7 MB