Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001414/0.001418, allocations: 184.9 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.793/1.793, allocations: 194.5 MB / 211.6 MB, free: 7.516 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.001885/0.001885, allocations: 128.5 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.2399/0.2399, allocations: 38.02 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 15.5 kB / 403.8 MB, free: 55.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06865/0.06911, allocations: 53.22 MB / 457 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003107/0.07225, allocations: 3.087 MB / 460.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.07405, allocations: 1.405 MB / 461.5 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.07419, allocations: 7.938 kB / 461.5 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.07433, allocations: 43.73 kB / 461.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.0748, allocations: 171.4 kB / 461.7 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.07506, allocations: 87.77 kB / 461.8 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.07528, allocations: 159.6 kB / 462 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.07587, allocations: 319 kB / 462.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.07606, allocations: 99.66 kB / 462.4 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.07621, allocations: 83.67 kB / 462.5 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.07625, allocations: 8 kB / 462.5 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.07655, allocations: 155.7 kB / 462.6 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.07664, allocations: 79.8 kB / 462.7 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.07671, allocations: 61.64 kB / 462.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.07702, allocations: 235.5 kB / 463 MB, free: 4.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.07703, allocations: 4 kB / 463 MB, free: 4.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.378e-06/0.07704, allocations: 0 / 463 MB, free: 4.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.91e-06/0.07706, allocations: 0 / 463 MB, free: 4.324 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005144/0.07758, allocations: 490.4 kB / 463.5 MB, free: 3.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.07763, allocations: 16.02 kB / 463.5 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.07866, allocations: 103.6 kB / 463.6 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.07894, allocations: 245.7 kB / 463.8 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.07897, allocations: 12 kB / 463.8 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.07903, allocations: 31.97 kB / 463.9 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.07953, allocations: 306.3 kB / 464.2 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.07956, allocations: 3.953 kB / 464.2 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.0796, allocations: 4 kB / 464.2 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.07965, allocations: 20 kB / 464.2 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.08014, allocations: 287.6 kB / 464.5 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.08179, allocations: 1.301 MB / 465.8 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.08241, allocations: 213.1 kB / 466 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.08246, allocations: 0 / 466 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.08248, allocations: 34.56 kB / 466 MB, free: 1.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.379e-06/0.0825, allocations: 0 / 466 MB, free: 1.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009441/0.08345, allocations: 434.2 kB / 466.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.0835, allocations: 81.11 kB / 466.5 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.08367, allocations: 194.3 kB / 466.7 MB, free: 312 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.0837, allocations: 25.7 kB / 466.7 MB, free: 280 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.08378, allocations: 163.7 kB / 466.9 MB, free: 108 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.08383, allocations: 51.28 kB / 466.9 MB, free: 56 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.08385, allocations: 4 kB / 467 MB, free: 52 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.08404, allocations: 335.2 kB / 467.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.08418, allocations: 55.91 kB / 467.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.0844, allocations: 148.8 kB / 467.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.08459, allocations: 75.92 kB / 467.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-06/0.08461, allocations: 0 / 467.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006149/0.08523, allocations: 262.3 kB / 467.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.08527, allocations: 11.81 kB / 467.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.08529, allocations: 7.953 kB / 467.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.08557, allocations: 40.77 kB / 467.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.08577, allocations: 39.92 kB / 467.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.08735, allocations: 1.358 MB / 469.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.08753, allocations: 8 kB / 469.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.08757, allocations: 8 kB / 469.3 MB, free: 13.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.08779, allocations: 165.8 kB / 469.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.08786, allocations: 19.75 kB / 469.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.08835, allocations: 191.1 kB / 469.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.938e-06/0.08838, allocations: 7.938 kB / 469.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.368e-06/0.08839, allocations: 0 / 469.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.08841, allocations: 3.984 kB / 469.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.08952, allocations: 0.5524 MB / 470.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.557e-06/0.08955, allocations: 7.984 kB / 470.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.08968, allocations: 16 kB / 470.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.08987, allocations: 32.83 kB / 470.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.08991, allocations: 8.094 kB / 470.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.09135, allocations: 1.335 MB / 471.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.09138, allocations: 7.984 kB / 471.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.09193, allocations: 342.4 kB / 472 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.09204, allocations: 92.92 kB / 472 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.09208, allocations: 7.938 kB / 472.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.09231, allocations: 7.984 kB / 472.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.09237, allocations: 27.88 kB / 472.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.0924, allocations: 4 kB / 472.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.09257, allocations: 139.2 kB / 472.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.09259, allocations: 0 / 472.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.09306, allocations: 52 kB / 472.3 MB, free: 10.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001178/0.09319, allocations: 95.25 kB / 472.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.09382, allocations: 275.1 kB / 472.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.38e-06/0.09385, allocations: 0 / 472.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.09416, allocations: 170.8 kB / 472.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.09449, allocations: 28.34 kB / 472.8 MB, free: 9.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.09546, allocations: 0.5224 MB / 473.4 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.09597, allocations: 0.7676 MB / 474.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.09616, allocations: 41.5 kB / 474.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.09623, allocations: 19.42 kB / 474.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of SimCode: time 1.285e-06/0.09624, allocations: 4 kB / 474.2 MB, free: 8.234 MB / 314.7 MB Notification: Performance of Templates: time 0.005685/0.1019, allocations: 1.523 MB / 475.7 MB, free: 6.711 MB / 314.7 MB