Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003903/0.003903, allocations: 364.4 kB / 17.21 MB, free: 4.953 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.361/3.361, allocations: 388.9 MB / 406.9 MB, free: 7.105 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003492/0.003492, allocations: 233.2 kB / 452.2 MB, free: 0.6211 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7245/0.7245, allocations: 76.02 MB / 0.56 GB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007321/0.0007326, allocations: 12 kB / 0.6222 GB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3424, allocations: 53.21 MB / 0.6742 GB, free: 62.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4775, allocations: 89.7 MB / 0.7618 GB, free: 4.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.4779, allocations: 93.25 kB / 0.7619 GB, free: 4.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05651/0.5344, allocations: 14.28 MB / 0.7758 GB, free: 6.305 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5344, allocations: 0 / 0.7758 GB, free: 6.305 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.5345, allocations: 4 kB / 0.7758 GB, free: 6.301 MB / 394.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.001053/0.5355, allocations: 0.4988 MB / 0.7763 GB, free: 5.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5356, allocations: 8.031 kB / 0.7763 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.537, allocations: 103.6 kB / 0.7764 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.5376, allocations: 268.2 kB / 0.7767 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.5376, allocations: 12 kB / 0.7767 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/0.5377, allocations: 20 kB / 0.7767 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/0.5385, allocations: 307.1 kB / 0.777 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.5385, allocations: 7.906 kB / 0.777 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.5386, allocations: 11.95 kB / 0.777 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.5387, allocations: 23.97 kB / 0.7771 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.5395, allocations: 279.7 kB / 0.7773 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.5422, allocations: 1.272 MB / 0.7786 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.543, allocations: 233.1 kB / 0.7788 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.5432, allocations: 93.67 kB / 0.7789 GB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.5433, allocations: 4 kB / 0.7789 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5433, allocations: 42.5 kB / 0.7789 GB, free: 2.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 3.326e-06/0.5433, allocations: 0 / 0.7789 GB, free: 2.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001287/0.5446, allocations: 439.9 kB / 0.7793 GB, free: 2.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.5447, allocations: 77.11 kB / 0.7794 GB, free: 2.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.545, allocations: 197.1 kB / 0.7796 GB, free: 2.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.545, allocations: 29.7 kB / 0.7796 GB, free: 2.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5452, allocations: 163.8 kB / 0.7798 GB, free: 1.988 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.5453, allocations: 55.33 kB / 0.7798 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.5453, allocations: 8 kB / 0.7799 GB, free: 1.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5455, allocations: 330.8 kB / 0.7802 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.5457, allocations: 84.42 kB / 0.7802 GB, free: 1.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.546, allocations: 158.5 kB / 0.7804 GB, free: 1.324 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.5463, allocations: 111.9 kB / 0.7805 GB, free: 1.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5463, allocations: 4 kB / 0.7805 GB, free: 1.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007086/0.547, allocations: 289.2 kB / 0.7808 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5471, allocations: 4 kB / 0.7808 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5471, allocations: 4 kB / 0.7808 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5471, allocations: 4 kB / 0.7808 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.5476, allocations: 51.91 kB / 0.7808 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.5476, allocations: 4 kB / 0.7809 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.5479, allocations: 23.88 kB / 0.7809 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.5479, allocations: 12.22 kB / 0.7809 GB, free: 0.8203 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.000215/0.5482, allocations: 161.7 kB / 0.781 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.5482, allocations: 19.8 kB / 0.7811 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005941/0.5488, allocations: 230.1 kB / 0.7813 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5489, allocations: 0 / 0.7813 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5489, allocations: 4 kB / 0.7813 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5489, allocations: 0 / 0.7813 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2911/0.84, allocations: 0.9491 MB / 0.7822 GB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8401, allocations: 11.45 kB / 0.7822 GB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.8404, allocations: 38.81 kB / 0.7823 GB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/0.8404, allocations: 5.875 kB / 0.7823 GB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.8404, allocations: 8.062 kB / 0.7823 GB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.8405, allocations: 9.297 kB / 0.7823 GB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.8405, allocations: 5.125 kB / 0.7823 GB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.8411, allocations: 417.2 kB / 0.7827 GB, free: 95.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.8412, allocations: 107.2 kB / 0.7828 GB, free: 95.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.8413, allocations: 6.75 kB / 0.7828 GB, free: 95.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.8415, allocations: 15.61 kB / 0.7828 GB, free: 95.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.8416, allocations: 23.12 kB / 0.7828 GB, free: 95.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.8417, allocations: 12.2 kB / 0.7828 GB, free: 95.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001873/0.8419, allocations: 145 kB / 0.783 GB, free: 95.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8419, allocations: 0 / 0.783 GB, free: 95.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005327/0.8424, allocations: 61.2 kB / 0.783 GB, free: 95.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0001424/0.8426, allocations: 117.3 kB / 0.7831 GB, free: 95.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.8431, allocations: 211.6 kB / 0.7833 GB, free: 95.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8431, allocations: 5.094 kB / 0.7834 GB, free: 95.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.8434, allocations: 93.45 kB / 0.7834 GB, free: 95.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.844, allocations: 44.81 kB / 0.7835 GB, free: 95.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.8453, allocations: 0.6562 MB / 0.7841 GB, free: 95.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.8456, allocations: 0.7673 MB / 0.7849 GB, free: 94.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.8459, allocations: 61.42 kB / 0.7849 GB, free: 94.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.846, allocations: 18.11 kB / 0.785 GB, free: 94.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.846, allocations: 1.438 kB / 0.785 GB, free: 94.43 MB / 394.7 MB Notification: Performance of Templates: time 0.006411/0.8524, allocations: 1.706 MB / 0.7866 GB, free: 94.37 MB / 394.7 MB