Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001405/0.001404, allocations: 186.6 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.773/1.773, allocations: 194.5 MB / 211.6 MB, free: 7.605 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.001867/0.001867, allocations: 116.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.2332/0.2332, allocations: 38.02 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004515, allocations: 11.84 kB / 403.8 MB, free: 55.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0702/0.07068, allocations: 53.23 MB / 457 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004175/0.0749, allocations: 4.102 MB / 461.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.07653, allocations: 1.128 MB / 462.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.07677, allocations: 19.88 kB / 462.3 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.07693, allocations: 55.53 kB / 462.3 MB, free: 5.035 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.07742, allocations: 207.4 kB / 462.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.0777, allocations: 119.7 kB / 462.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.07805, allocations: 271.4 kB / 462.9 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.07827, allocations: 114.2 kB / 463 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.07852, allocations: 163.4 kB / 463.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.07883, allocations: 179.4 kB / 463.4 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.07889, allocations: 16 kB / 463.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.508e-05/0.07895, allocations: 12 kB / 463.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.07907, allocations: 95.72 kB / 463.5 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.07916, allocations: 81.52 kB / 463.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.07942, allocations: 279.2 kB / 463.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.07944, allocations: 0 / 463.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.797e-06/0.07945, allocations: 4 kB / 463.8 MB, free: 3.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.44e-06/0.07947, allocations: 3.938 kB / 463.8 MB, free: 3.516 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001085/0.08056, allocations: 0.6399 MB / 464.5 MB, free: 2.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.0806, allocations: 12.02 kB / 464.5 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.0807, allocations: 39.53 kB / 464.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.08129, allocations: 370.6 kB / 464.9 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.08133, allocations: 20.56 kB / 464.9 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.08139, allocations: 24 kB / 464.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.08195, allocations: 360.7 kB / 465.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.08198, allocations: 0 / 465.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.08202, allocations: 12 kB / 465.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.514e-06/0.08204, allocations: 4 kB / 465.3 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.08254, allocations: 265.9 kB / 465.6 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.08429, allocations: 1.454 MB / 467 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.08463, allocations: 157 kB / 467.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.08467, allocations: 4.062 kB / 467.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.08472, allocations: 38.56 kB / 467.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.45e-06/0.08474, allocations: 0 / 467.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.00144/0.08618, allocations: 0.6744 MB / 467.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.08626, allocations: 81.11 kB / 468 MB, free: 15.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.08669, allocations: 288.6 kB / 468.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.08676, allocations: 29.7 kB / 468.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.08696, allocations: 231.6 kB / 468.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.08704, allocations: 55.19 kB / 468.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.08707, allocations: 8 kB / 468.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.08726, allocations: 334.8 kB / 468.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.08743, allocations: 67.95 kB / 469 MB, free: 14.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.08769, allocations: 164.8 kB / 469.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.08792, allocations: 91.89 kB / 469.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.08794, allocations: 3.953 kB / 469.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005928/0.08854, allocations: 285.1 kB / 469.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.08857, allocations: 11.75 kB / 469.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.241e-06/0.08859, allocations: 0 / 469.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.08862, allocations: 8 kB / 469.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.08893, allocations: 55.91 kB / 469.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.08896, allocations: 7.938 kB / 469.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.0892, allocations: 19.98 kB / 469.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.08924, allocations: 12 kB / 469.6 MB, free: 13.36 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 (29): * Single equations (assignments): 29 * 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.0002212/0.08947, allocations: 173.7 kB / 469.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.08956, allocations: 31.67 kB / 469.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.09009, allocations: 235.5 kB / 470 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.609e-06/0.09011, allocations: 0 / 470 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.206e-06/0.09012, allocations: 3.938 kB / 470 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-06/0.09014, allocations: 4 kB / 470 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.09122, allocations: 0.6201 MB / 470.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-06/0.09124, allocations: 0 / 470.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.0915, allocations: 39.92 kB / 470.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.231e-06/0.09152, allocations: 0 / 470.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.09156, allocations: 7.984 kB / 470.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.28e-06/0.09157, allocations: 0 / 470.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.213e-06/0.09159, allocations: 4 kB / 470.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.09235, allocations: 451 kB / 471.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.09247, allocations: 100.8 kB / 471.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.09254, allocations: 11.98 kB / 471.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.09276, allocations: 7.938 kB / 471.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.09282, allocations: 11.98 kB / 471.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.09284, allocations: 4 kB / 471.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.09314, allocations: 215.1 kB / 471.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.09316, allocations: 7.938 kB / 471.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.09362, allocations: 56 kB / 471.6 MB, free: 11.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001295/0.09376, allocations: 107.1 kB / 471.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004163/0.09419, allocations: 176.6 kB / 471.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.78e-06/0.09421, allocations: 4 kB / 471.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.09442, allocations: 95.8 kB / 471.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.0949, allocations: 56.61 kB / 472 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.09627, allocations: 0.7978 MB / 472.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.09684, allocations: 0.8145 MB / 473.6 MB, free: 9.164 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.09712, allocations: 54.94 kB / 473.7 MB, free: 9.105 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.09723, allocations: 23.44 kB / 473.7 MB, free: 9.082 MB / 314.7 MB Notification: Performance of SimCode: time 1.263e-06/0.09724, allocations: 0 / 473.7 MB, free: 9.082 MB / 314.7 MB Notification: Performance of Templates: time 0.00843/0.1057, allocations: 2.726 MB / 476.4 MB, free: 6.371 MB / 314.7 MB