Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001387/0.00139, allocations: 184.8 kB / 16.38 MB, free: 5.621 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.81/1.81, allocations: 194.5 MB / 211.6 MB, free: 7.602 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.001921/0.001921, allocations: 120.6 kB / 256.9 MB, free: 10.23 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.2373/0.2373, allocations: 38.01 MB / 340.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 18.56 kB / 403.8 MB, free: 55.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06951/0.06999, allocations: 53.24 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004132/0.07416, allocations: 3.981 MB / 461 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.07579, allocations: 1.1 MB / 462.1 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.07604, allocations: 23.88 kB / 462.1 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.0762, allocations: 47.59 kB / 462.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.07669, allocations: 191.4 kB / 462.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.07697, allocations: 103.8 kB / 462.5 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.07728, allocations: 235.5 kB / 462.7 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.07748, allocations: 85.12 kB / 462.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.07771, allocations: 147.4 kB / 462.9 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.07797, allocations: 127.5 kB / 463.1 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.07802, allocations: 12 kB / 463.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.07808, allocations: 8 kB / 463.1 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.07817, allocations: 79.72 kB / 463.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.07826, allocations: 81.58 kB / 463.2 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.07848, allocations: 203.5 kB / 463.4 MB, free: 3.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.477e-06/0.07849, allocations: 0 / 463.4 MB, free: 3.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.847e-06/0.07851, allocations: 0 / 463.4 MB, free: 3.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.997e-06/0.07853, allocations: 0 / 463.4 MB, free: 3.93 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007947/0.07933, allocations: 0.5503 MB / 464 MB, free: 3.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.07937, allocations: 12.03 kB / 464 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.07945, allocations: 31.53 kB / 464 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.07988, allocations: 313.8 kB / 464.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.07991, allocations: 12.44 kB / 464.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.07997, allocations: 24 kB / 464.4 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.08042, allocations: 294.7 kB / 464.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.08045, allocations: 0 / 464.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.08049, allocations: 12 kB / 464.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.304e-06/0.08051, allocations: 7.938 kB / 464.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.08086, allocations: 180.9 kB / 464.8 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.08219, allocations: 1.216 MB / 466.1 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.08254, allocations: 117.1 kB / 466.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.08257, allocations: 4 kB / 466.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.0826, allocations: 34.69 kB / 466.2 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.08261, allocations: 4.062 kB / 466.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008151/0.08344, allocations: 488.3 kB / 466.7 MB, free: 380 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.08348, allocations: 81.11 kB / 466.8 MB, free: 280 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.08371, allocations: 238.7 kB / 467 MB, free: 28 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.08376, allocations: 29.7 kB / 467 MB, free: 15.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.08395, allocations: 199.5 kB / 467.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.08401, allocations: 43.44 kB / 467.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.08403, allocations: 8.125 kB / 467.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.08422, allocations: 330.8 kB / 467.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.74e-05/0.08432, allocations: 39.91 kB / 467.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.08452, allocations: 131.1 kB / 467.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.08466, allocations: 52.69 kB / 467.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-06/0.08468, allocations: 0 / 467.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004309/0.08512, allocations: 209.4 kB / 468 MB, free: 14.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.08516, allocations: 12.06 kB / 468 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.08518, allocations: 7.953 kB / 468 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.0852, allocations: 8 kB / 468.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.08543, allocations: 47.91 kB / 468.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.08546, allocations: 7.938 kB / 468.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.08562, allocations: 8 kB / 468.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.08566, allocations: 8 kB / 468.1 MB, free: 14.84 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): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.08586, allocations: 165.5 kB / 468.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.08593, allocations: 19.72 kB / 468.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.08627, allocations: 139.3 kB / 468.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.08629, allocations: 3.953 kB / 468.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-06/0.0863, allocations: 0 / 468.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.08632, allocations: 4 kB / 468.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.08708, allocations: 475.3 kB / 468.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-06/0.0871, allocations: 3.938 kB / 468.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.08727, allocations: 27.92 kB / 468.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.113e-06/0.0873, allocations: 3.984 kB / 469 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.08733, allocations: 8 kB / 469 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.907e-06/0.08734, allocations: 0 / 469 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-06/0.08735, allocations: 0 / 469 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.08782, allocations: 296.3 kB / 469.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.08792, allocations: 96.86 kB / 469.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.08798, allocations: 7.984 kB / 469.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.08813, allocations: 4 kB / 469.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.08818, allocations: 11.94 kB / 469.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.0882, allocations: 4 kB / 469.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.08842, allocations: 170 kB / 469.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.08844, allocations: 0 / 469.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.08887, allocations: 44 kB / 469.6 MB, free: 13.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.089, allocations: 103.3 kB / 469.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.08929, allocations: 107.8 kB / 469.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.99e-06/0.08931, allocations: 4 kB / 469.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.08942, allocations: 40.86 kB / 469.8 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.08988, allocations: 60.72 kB / 469.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.09111, allocations: 0.6788 MB / 470.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.09163, allocations: 0.7755 MB / 471.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.09182, allocations: 30.27 kB / 471.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.0919, allocations: 31.44 kB / 471.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.251e-06/0.09191, allocations: 0 / 471.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of Templates: time 0.006578/0.0985, allocations: 1.826 MB / 473.2 MB, free: 9.547 MB / 314.7 MB