Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0066/0.0066, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 46.25 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1364, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003929/0.1404, allocations: 1.576 MB / 374.7 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.1413, allocations: 479.4 kB / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.1414, allocations: 0 / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.1415, allocations: 3.938 kB / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.1416, allocations: 15.81 kB / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.1417, allocations: 27.95 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1418, allocations: 51.84 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.1421, allocations: 51.84 kB / 375.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1422, allocations: 43.84 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.1423, allocations: 31.84 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1423, allocations: 4 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.1423, allocations: 4 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.1424, allocations: 11.94 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.1424, allocations: 31.8 kB / 375.5 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1426, allocations: 59.78 kB / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1426, allocations: 0 / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1426, allocations: 0 / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1426, allocations: 0 / 375.5 MB, free: 14.93 MB / 318.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.0006624/0.1433, allocations: 383.3 kB / 375.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1433, allocations: 8.031 kB / 375.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1434, allocations: 8.844 kB / 375.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.1435, allocations: 188 kB / 376.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.1436, allocations: 8.375 kB / 376.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.1436, allocations: 8.312 kB / 376.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.1439, allocations: 118.2 kB / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1439, allocations: 0 / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1439, allocations: 0 / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.144, allocations: 4 kB / 376.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.1442, allocations: 59.89 kB / 376.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009993/0.1452, allocations: 0.6341 MB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1454, allocations: 116.9 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1455, allocations: 56.47 kB / 377.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1456, allocations: 4 kB / 377.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.1456, allocations: 38.48 kB / 377.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1456, allocations: 4 kB / 377.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005356/0.1462, allocations: 126 kB / 377.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.1463, allocations: 154.2 kB / 377.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1464, allocations: 121.6 kB / 377.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1465, allocations: 29.7 kB / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.1466, allocations: 104 kB / 377.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.1466, allocations: 11.75 kB / 377.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.1466, allocations: 25.7 kB / 377.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1468, allocations: 318.9 kB / 378 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.1469, allocations: 23.97 kB / 378 MB, free: 12.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.147, allocations: 52.22 kB / 378.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.1472, allocations: 80.2 kB / 378.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1473, allocations: 0 / 378.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000227/0.1475, allocations: 97.56 kB / 378.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1475, allocations: 4 kB / 378.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1475, allocations: 7.938 kB / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.1476, allocations: 3.938 kB / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1477, allocations: 11.98 kB / 378.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1477, allocations: 4 kB / 378.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.1478, allocations: 15.92 kB / 378.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1478, allocations: 4 kB / 378.3 MB, free: 11.79 MB / 318.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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1479, allocations: 125.9 kB / 378.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.148, allocations: 11.89 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.148, allocations: 11.53 kB / 378.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1481, allocations: 3.984 kB / 378.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1481, allocations: 0 / 378.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1481, allocations: 7.938 kB / 378.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.1485, allocations: 185.8 kB / 378.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1485, allocations: 3.938 kB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.1486, allocations: 11.94 kB / 378.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.1486, allocations: 7.984 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1486, allocations: 4 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1486, allocations: 0 / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1486, allocations: 4 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.1491, allocations: 496.4 kB / 379.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.1491, allocations: 81.11 kB / 379.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1491, allocations: 4 kB / 379.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1494, allocations: 11.98 kB / 379.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.1494, allocations: 7.938 kB / 379.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1494, allocations: 0 / 379.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.628e-05/0.1495, allocations: 91.27 kB / 379.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1495, allocations: 4 kB / 379.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.1499, allocations: 23.84 kB / 379.4 MB, free: 10.61 MB / 318.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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.15, allocations: 95.23 kB / 379.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1503, allocations: 63.84 kB / 379.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1503, allocations: 0 / 379.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1504, allocations: 40.22 kB / 379.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1509, allocations: 4 kB / 379.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.1515, allocations: 210.5 kB / 379.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1518, allocations: 0.6966 MB / 380.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.1518, allocations: 0 / 380.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1519, allocations: 11.44 kB / 380.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1519, allocations: 0 / 380.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of Templates: time 0.003033/0.1549, allocations: 0.5524 MB / 381.1 MB, free: 8.879 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)