Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001146/0.001146, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.282/1.282, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001626/0.001626, allocations: 112.6 kB / 248.1 MB, free: 6.301 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.458e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08271, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2664/0.3492, allocations: 71.03 MB / 413.6 MB, free: 24.73 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3495, allocations: 69.47 kB / 413.7 MB, free: 24.7 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.003725/0.3532, allocations: 1.435 MB / 415.1 MB, free: 23.47 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3532, allocations: 0 / 415.1 MB, free: 23.47 MB / 315.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3532, allocations: 0 / 415.1 MB, free: 23.47 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003078/0.3536, allocations: 360.4 kB / 415.4 MB, free: 23.08 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3536, allocations: 8.031 kB / 415.5 MB, free: 23.07 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.3537, allocations: 13.61 kB / 415.5 MB, free: 23.06 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3538, allocations: 167 kB / 415.6 MB, free: 22.86 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.3538, allocations: 7.266 kB / 415.6 MB, free: 22.85 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.3539, allocations: 4 kB / 415.6 MB, free: 22.85 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.68e-05/0.354, allocations: 26.56 kB / 415.7 MB, free: 22.83 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3541, allocations: 101.1 kB / 415.8 MB, free: 22.73 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3542, allocations: 0 / 415.8 MB, free: 22.73 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3542, allocations: 0 / 415.8 MB, free: 22.73 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3542, allocations: 8 kB / 415.8 MB, free: 22.72 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.3547, allocations: 0.6087 MB / 416.4 MB, free: 22.08 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.088e-05/0.3547, allocations: 99.28 kB / 416.5 MB, free: 21.95 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.3548, allocations: 48.48 kB / 416.5 MB, free: 21.89 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3548, allocations: 4 kB / 416.5 MB, free: 21.89 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.3548, allocations: 34.55 kB / 416.6 MB, free: 21.85 MB / 315.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3548, allocations: 1.875 kB / 416.6 MB, free: 21.85 MB / 315.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002123/0.3551, allocations: 76.22 kB / 416.6 MB, free: 21.77 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3551, allocations: 158.2 kB / 416.8 MB, free: 21.58 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.3552, allocations: 108.3 kB / 416.9 MB, free: 21.48 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.3552, allocations: 25.7 kB / 416.9 MB, free: 21.45 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.3552, allocations: 95.17 kB / 417 MB, free: 21.36 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3552, allocations: 15.12 kB / 417 MB, free: 21.34 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.3552, allocations: 0 / 417 MB, free: 21.34 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.3553, allocations: 322.2 kB / 417.3 MB, free: 21.02 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.3553, allocations: 10.69 kB / 417.4 MB, free: 21.02 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.3554, allocations: 31.98 kB / 417.4 MB, free: 20.97 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.3554, allocations: 19.73 kB / 417.4 MB, free: 20.96 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3554, allocations: 4 kB / 417.4 MB, free: 20.95 MB / 315.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.838e-05/0.3555, allocations: 70.34 kB / 417.5 MB, free: 20.89 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3555, allocations: 8.938 kB / 417.5 MB, free: 20.88 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3555, allocations: 0 / 417.5 MB, free: 20.88 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3555, allocations: 0 / 417.5 MB, free: 20.88 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.3556, allocations: 18.94 kB / 417.5 MB, free: 20.86 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3557, allocations: 7.938 kB / 417.5 MB, free: 20.86 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.3557, allocations: 16.05 kB / 417.5 MB, free: 20.84 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3557, allocations: 5.031 kB / 417.5 MB, free: 20.84 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.696e-05/0.3558, allocations: 108.8 kB / 417.6 MB, free: 20.72 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.3559, allocations: 11.89 kB / 417.7 MB, free: 20.71 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.3559, allocations: 10.12 kB / 417.7 MB, free: 20.71 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3559, allocations: 4 kB / 417.7 MB, free: 20.7 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3559, allocations: 0 / 417.7 MB, free: 20.7 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3559, allocations: 1.188 kB / 417.7 MB, free: 20.7 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.3562, allocations: 172.3 kB / 417.8 MB, free: 20.51 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3562, allocations: 0 / 417.8 MB, free: 20.51 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.3563, allocations: 15.98 kB / 417.9 MB, free: 20.49 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3563, allocations: 0 / 417.9 MB, free: 20.49 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3563, allocations: 2.344 kB / 417.9 MB, free: 20.49 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3563, allocations: 7.938 kB / 417.9 MB, free: 20.48 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3564, allocations: 0 / 417.9 MB, free: 20.48 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.3566, allocations: 0.4969 MB / 418.4 MB, free: 19.96 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.3566, allocations: 92.41 kB / 418.4 MB, free: 19.86 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3567, allocations: 4 kB / 418.5 MB, free: 19.85 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3569, allocations: 11.98 kB / 418.5 MB, free: 19.84 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.357, allocations: 11.92 kB / 418.5 MB, free: 19.83 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.357, allocations: 4 kB / 418.5 MB, free: 19.82 MB / 315.1 MB Notification: Performance of sorting global known variables: time 2.912e-05/0.357, allocations: 90.5 kB / 418.6 MB, free: 19.75 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.357, allocations: 4 kB / 418.6 MB, free: 19.74 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.3574, allocations: 8 kB / 418.6 MB, free: 19.73 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 8.61e-05/0.3575, allocations: 99.23 kB / 418.7 MB, free: 19.63 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.3576, allocations: 30 kB / 418.7 MB, free: 19.61 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3576, allocations: 0 / 418.7 MB, free: 19.61 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.3576, allocations: 21.81 kB / 418.7 MB, free: 19.59 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.3579, allocations: 9.156 kB / 418.7 MB, free: 19.58 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.3582, allocations: 126 kB / 418.9 MB, free: 19.44 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.3584, allocations: 0.6924 MB / 419.6 MB, free: 18.72 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 3.524e-05/0.3584, allocations: 4 kB / 419.6 MB, free: 18.71 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.3584, allocations: 7.438 kB / 419.6 MB, free: 18.71 MB / 315.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3584, allocations: 4 kB / 419.6 MB, free: 18.71 MB / 315.1 MB Notification: Performance of Templates: time 0.001948/0.3604, allocations: 415.9 kB / 420 MB, free: 18.34 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)