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.00197/0.00197, allocations: 180.1 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 82.64 kB / 261.8 MB, free: 1.68 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.2668/0.2668, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.489e-05, allocations: 4 kB / 409.9 MB, free: 35.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5259/0.6457, allocations: 98.63 MB / 0.5516 GB, free: 9.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.6461, allocations: 81.14 kB / 0.5517 GB, free: 9.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1114/0.7576, allocations: 19.15 MB / 0.5704 GB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7576, allocations: 0 / 0.5704 GB, free: 12.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.187e-05/0.7577, allocations: 16 kB / 0.5704 GB, free: 12.47 MB / 378.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.003141/0.7609, allocations: 0.8987 MB / 0.5712 GB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.761, allocations: 12.03 kB / 0.5713 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.7625, allocations: 138.8 kB / 0.5714 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/0.7667, allocations: 0.8686 MB / 0.5722 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.7669, allocations: 24 kB / 0.5723 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.7671, allocations: 47.19 kB / 0.5723 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002585/0.7697, allocations: 0.6669 MB / 0.573 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.7727, allocations: 0.974 MB / 0.5739 GB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.7727, allocations: 11.94 kB / 0.5739 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.7729, allocations: 4 kB / 0.5739 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.7731, allocations: 45.86 kB / 0.574 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.7839, allocations: 4.853 MB / 0.5787 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.7854, allocations: 376.7 kB / 0.5791 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.7861, allocations: 205.6 kB / 0.5793 GB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.7862, allocations: 16.14 kB / 0.5793 GB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.7862, allocations: 38.2 kB / 0.5793 GB, free: 4.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 4.959e-06/0.7863, allocations: 0 / 0.5793 GB, free: 4.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.003492/0.7898, allocations: 0.8931 MB / 0.5802 GB, free: 3.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.7899, allocations: 85.05 kB / 0.5803 GB, free: 3.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009213/0.7908, allocations: 400.9 kB / 0.5806 GB, free: 3.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.7909, allocations: 25.7 kB / 0.5807 GB, free: 2.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.7914, allocations: 497.9 kB / 0.5811 GB, free: 2.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.7917, allocations: 168.4 kB / 0.5813 GB, free: 2.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.7918, allocations: 0 / 0.5813 GB, free: 2.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.792, allocations: 347.5 kB / 0.5816 GB, free: 2.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.7928, allocations: 217.3 kB / 0.5818 GB, free: 1.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.7941, allocations: 0.596 MB / 0.5824 GB, free: 1.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.7954, allocations: 350.8 kB / 0.5828 GB, free: 1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/0.7955, allocations: 4 kB / 0.5828 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002702/0.7982, allocations: 0.785 MB / 0.5835 GB, free: 356 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.7982, allocations: 12 kB / 0.5835 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.7983, allocations: 12 kB / 0.5836 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.309e-05/0.7983, allocations: 20 kB / 0.5836 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.7997, allocations: 206.9 kB / 0.5838 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.712e-05/0.7997, allocations: 31.88 kB / 0.5838 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.8005, allocations: 32.12 kB / 0.5838 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.8006, allocations: 51.12 kB / 0.5839 GB, free: 4 kB / 378.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.0002037/0.8008, allocations: 132.2 kB / 0.584 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.8009, allocations: 51.34 kB / 0.5841 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.8025, allocations: 0.528 MB / 0.5846 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.8026, allocations: 12 kB / 0.5846 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8026, allocations: 4 kB / 0.5846 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.8026, allocations: 3.953 kB / 0.5846 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.8057, allocations: 1.203 MB / 0.5858 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.8057, allocations: 3.953 kB / 0.5858 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008601/0.8066, allocations: 115 kB / 0.5859 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.8066, allocations: 4 kB / 0.5859 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.8067, allocations: 4 kB / 0.5859 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.8067, allocations: 7.984 kB / 0.5859 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8067, allocations: 0 / 0.5859 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.8082, allocations: 0.761 MB / 0.5866 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.8084, allocations: 136.4 kB / 0.5868 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/0.8086, allocations: 0 / 0.5868 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.8091, allocations: 23.97 kB / 0.5868 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.8092, allocations: 42.22 kB / 0.5868 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.8093, allocations: 15 kB / 0.5868 GB, free: 13.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004872/0.8098, allocations: 284 kB / 0.5871 GB, free: 13.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8098, allocations: 0 / 0.5871 GB, free: 13.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00113/0.8109, allocations: 159.9 kB / 0.5873 GB, free: 12.93 MB / 394.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.0002821/0.8112, allocations: 134.7 kB / 0.5874 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.8126, allocations: 0.5692 MB / 0.588 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8126, allocations: 0 / 0.588 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.8131, allocations: 236.9 kB / 0.5882 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.814, allocations: 86.78 kB / 0.5883 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.817, allocations: 1.095 MB / 0.5893 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.8181, allocations: 1.013 MB / 0.5903 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.8185, allocations: 58.67 kB / 0.5904 GB, free: 10.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.021e-06/0.8185, allocations: 0 / 0.5904 GB, free: 10.06 MB / 394.7 MB Notification: Performance of Templates: time 0.02146/0.8399, allocations: 8.166 MB / 0.5984 GB, free: 1.965 MB / 394.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)