Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 186 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 88.89 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2998/0.2998, allocations: 37.98 MB / 353.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.017e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 56.3 MB / 473.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.617, allocations: 99.32 MB / 0.559 GB, free: 4.414 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.6174, allocations: 75.97 kB / 0.5591 GB, free: 4.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08538/0.7028, allocations: 19.29 MB / 0.5779 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.829e-06/0.7029, allocations: 4 kB / 0.5779 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.471e-05/0.7029, allocations: 16 kB / 0.5779 GB, free: 0.8242 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002496/0.7054, allocations: 0.8968 MB / 0.5788 GB, free: 15.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.7055, allocations: 8.031 kB / 0.5788 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.7066, allocations: 146.8 kB / 0.579 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.7099, allocations: 0.8595 MB / 0.5798 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/0.71, allocations: 57.98 kB / 0.5799 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.7103, allocations: 79.98 kB / 0.5799 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.7128, allocations: 1.084 MB / 0.581 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.7129, allocations: 3.938 kB / 0.581 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.713, allocations: 43.97 kB / 0.581 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.7131, allocations: 41.98 kB / 0.5811 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.7153, allocations: 0.7883 MB / 0.5818 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008558/0.7239, allocations: 5.004 MB / 0.5867 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.7252, allocations: 401.9 kB / 0.5871 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.7257, allocations: 214.4 kB / 0.5873 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-05/0.7258, allocations: 16.3 kB / 0.5873 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.7258, allocations: 43.02 kB / 0.5874 GB, free: 6.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 3.948e-06/0.7259, allocations: 0 / 0.5874 GB, free: 6.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.002552/0.7284, allocations: 0.9121 MB / 0.5883 GB, free: 5.773 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.7285, allocations: 81.11 kB / 0.5883 GB, free: 5.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007787/0.7293, allocations: 435.6 kB / 0.5888 GB, free: 5.242 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.7294, allocations: 37.7 kB / 0.5888 GB, free: 5.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.7298, allocations: 496.2 kB / 0.5893 GB, free: 4.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.73, allocations: 169.6 kB / 0.5894 GB, free: 4.543 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.7301, allocations: 16 kB / 0.5894 GB, free: 4.527 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.7302, allocations: 338.8 kB / 0.5898 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/0.7309, allocations: 241.6 kB / 0.59 GB, free: 3.949 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009517/0.7318, allocations: 0.6082 MB / 0.5906 GB, free: 3.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008847/0.7327, allocations: 367.6 kB / 0.5909 GB, free: 2.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.7328, allocations: 7.938 kB / 0.591 GB, free: 2.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002172/0.735, allocations: 0.8646 MB / 0.5918 GB, free: 1.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.735, allocations: 15.98 kB / 0.5918 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.7351, allocations: 15.95 kB / 0.5918 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.725e-05/0.7351, allocations: 20 kB / 0.5918 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.7365, allocations: 203.6 kB / 0.592 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.816e-05/0.7365, allocations: 23.92 kB / 0.5921 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.7373, allocations: 55.8 kB / 0.5921 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/0.7375, allocations: 44 kB / 0.5922 GB, free: 1.543 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 2 * 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.0002091/0.7377, allocations: 160.7 kB / 0.5923 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.7378, allocations: 51.34 kB / 0.5924 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.7394, allocations: 0.5497 MB / 0.5929 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.486e-05/0.7395, allocations: 19.95 kB / 0.5929 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.7395, allocations: 0 / 0.5929 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.7395, allocations: 3.984 kB / 0.5929 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.7428, allocations: 1.33 MB / 0.5942 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.7429, allocations: 4.25 kB / 0.5942 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008847/0.7438, allocations: 111.9 kB / 0.5943 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.7438, allocations: 4 kB / 0.5943 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.7439, allocations: 8 kB / 0.5943 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.7439, allocations: 7.938 kB / 0.5943 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.7439, allocations: 4 kB / 0.5944 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.7454, allocations: 0.7662 MB / 0.5951 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.7456, allocations: 132.4 kB / 0.5952 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.7457, allocations: 15.94 kB / 0.5952 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.7463, allocations: 31.97 kB / 0.5953 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.7464, allocations: 31.97 kB / 0.5953 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.7464, allocations: 19.98 kB / 0.5953 GB, free: 14.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006406/0.7471, allocations: 317.5 kB / 0.5956 GB, free: 13.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7471, allocations: 0 / 0.5956 GB, free: 13.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001176/0.7483, allocations: 191.9 kB / 0.5958 GB, free: 13.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 2 * 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.0003048/0.7486, allocations: 139 kB / 0.5959 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.7503, allocations: 0.6109 MB / 0.5965 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.7503, allocations: 4 kB / 0.5965 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.751, allocations: 256.3 kB / 0.5968 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/0.7519, allocations: 102.9 kB / 0.5969 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.7552, allocations: 1.131 MB / 0.598 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.7563, allocations: 1.02 MB / 0.599 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.7567, allocations: 59.42 kB / 0.599 GB, free: 10.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7567, allocations: 0 / 0.599 GB, free: 10.18 MB / 442.7 MB Notification: Performance of Templates: time 0.02121/0.7779, allocations: 8.282 MB / 0.6071 GB, free: 1.895 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Units --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.pipe 2>&1)