Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002657/0.002657, allocations: 364.4 kB / 17.21 MB, free: 4.949 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 3.686/3.686, allocations: 388.9 MB / 406.8 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003553/0.003553, allocations: 229.7 kB / 452.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7369/0.7369, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.08841, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5166, allocations: 89.17 MB / 0.7613 GB, free: 81.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.5169, allocations: 98.72 kB / 0.7614 GB, free: 81.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.5406, allocations: 6.11 MB / 0.7674 GB, free: 81.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5407, allocations: 0 / 0.7674 GB, free: 81.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.5407, allocations: 7.719 kB / 0.7674 GB, free: 81.03 MB / 442.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.0009476/0.5417, allocations: 0.5345 MB / 0.7679 GB, free: 80.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5417, allocations: 7.656 kB / 0.7679 GB, free: 80.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.5418, allocations: 27.34 kB / 0.7679 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5429, allocations: 461.1 kB / 0.7684 GB, free: 80.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.5429, allocations: 18.59 kB / 0.7684 GB, free: 80.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.543, allocations: 18.56 kB / 0.7684 GB, free: 80.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.5435, allocations: 273 kB / 0.7687 GB, free: 80.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.5435, allocations: 352 / 0.7687 GB, free: 80.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.5436, allocations: 13.78 kB / 0.7687 GB, free: 80.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.5436, allocations: 5.312 kB / 0.7687 GB, free: 80.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.544, allocations: 168.5 kB / 0.7688 GB, free: 80.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.5454, allocations: 1.176 MB / 0.77 GB, free: 79.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.5456, allocations: 68.59 kB / 0.7701 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.5457, allocations: 32.75 kB / 0.7701 GB, free: 79.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.5457, allocations: 4.438 kB / 0.7701 GB, free: 79.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.5458, allocations: 36.92 kB / 0.7701 GB, free: 79.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.5458, allocations: 0 / 0.7701 GB, free: 79.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007945/0.5466, allocations: 413.4 kB / 0.7705 GB, free: 78.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.5467, allocations: 81.64 kB / 0.7706 GB, free: 78.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.5469, allocations: 243.5 kB / 0.7708 GB, free: 78.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.547, allocations: 29.64 kB / 0.7709 GB, free: 78.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.5471, allocations: 187.3 kB / 0.771 GB, free: 78.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.5471, allocations: 29.81 kB / 0.7711 GB, free: 78.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.5471, allocations: 7.75 kB / 0.7711 GB, free: 78.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.5472, allocations: 332.8 kB / 0.7714 GB, free: 78.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.5473, allocations: 25.95 kB / 0.7714 GB, free: 78.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.5474, allocations: 121.1 kB / 0.7715 GB, free: 78.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.5475, allocations: 48.39 kB / 0.7716 GB, free: 78.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5475, allocations: 0 / 0.7716 GB, free: 78.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003252/0.5479, allocations: 180.8 kB / 0.7718 GB, free: 78.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5479, allocations: 3.969 kB / 0.7718 GB, free: 78.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5479, allocations: 4.594 kB / 0.7718 GB, free: 78.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.548, allocations: 8.312 kB / 0.7718 GB, free: 78.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.5482, allocations: 50.09 kB / 0.7718 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5483, allocations: 6.172 kB / 0.7718 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.5484, allocations: 11.53 kB / 0.7718 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.5485, allocations: 7.688 kB / 0.7718 GB, free: 78.04 MB / 442.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 (22): * Single equations (assignments): 22 * 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.0001555/0.5486, allocations: 150.5 kB / 0.772 GB, free: 77.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.5487, allocations: 22.86 kB / 0.772 GB, free: 77.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.5489, allocations: 101.6 kB / 0.7721 GB, free: 77.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5489, allocations: 4.25 kB / 0.7721 GB, free: 77.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5489, allocations: 7.375 kB / 0.7721 GB, free: 77.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5489, allocations: 0.6562 kB / 0.7721 GB, free: 77.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.5494, allocations: 422 kB / 0.7725 GB, free: 77.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5495, allocations: 0.5938 kB / 0.7725 GB, free: 77.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.5496, allocations: 18.61 kB / 0.7725 GB, free: 77.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5496, allocations: 4.75 kB / 0.7725 GB, free: 77.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5497, allocations: 3.953 kB / 0.7725 GB, free: 77.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.5497, allocations: 0.5625 kB / 0.7725 GB, free: 77.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5497, allocations: 4.531 kB / 0.7725 GB, free: 77.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.55, allocations: 232.4 kB / 0.7728 GB, free: 77.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.55, allocations: 92.14 kB / 0.7729 GB, free: 77.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.5501, allocations: 3.844 kB / 0.7729 GB, free: 77.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.5502, allocations: 6.516 kB / 0.7729 GB, free: 77.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.5503, allocations: 11.16 kB / 0.7729 GB, free: 77.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.5503, allocations: 0 / 0.7729 GB, free: 77.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.5505, allocations: 169.6 kB / 0.773 GB, free: 77.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5505, allocations: 0 / 0.773 GB, free: 77.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.5509, allocations: 45.38 kB / 0.7731 GB, free: 77.2 MB / 442.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 (9): * Single equations (assignments): 8 * 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.0001105/0.551, allocations: 110.8 kB / 0.7732 GB, free: 77.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.5512, allocations: 85.61 kB / 0.7733 GB, free: 77.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5512, allocations: 0 / 0.7733 GB, free: 77.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.696e-05/0.5513, allocations: 25.48 kB / 0.7733 GB, free: 77.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.552, allocations: 57.11 kB / 0.7733 GB, free: 77.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.553, allocations: 0.6131 MB / 0.7739 GB, free: 76.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.5533, allocations: 0.7674 MB / 0.7747 GB, free: 76.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.5535, allocations: 31.38 kB / 0.7747 GB, free: 76.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.5535, allocations: 18.38 kB / 0.7747 GB, free: 76.01 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5535, allocations: 3.938 kB / 0.7747 GB, free: 76.01 MB / 442.7 MB Notification: Performance of Templates: time 0.006369/0.5599, allocations: 1.625 MB / 0.7763 GB, free: 75.9 MB / 442.7 MB