Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001171/0.001171, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001184/0.001184, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.484 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.000533/0.0005331, allocations: 12 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2379, allocations: 47.58 MB / 326.4 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001628/0.2395, allocations: 1.284 MB / 327.7 MB, free: 436 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.2402, allocations: 441.8 kB / 328.2 MB, free: 88 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.2403, allocations: 1.344 kB / 328.2 MB, free: 88 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.2403, allocations: 3.938 kB / 328.2 MB, free: 84 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.2404, allocations: 18.77 kB / 328.2 MB, free: 68 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.2405, allocations: 14.27 kB / 328.2 MB, free: 56 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.2406, allocations: 36.3 kB / 328.2 MB, free: 32 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2408, allocations: 33.8 kB / 328.3 MB, free: 16 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2409, allocations: 28.27 kB / 328.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.2409, allocations: 18.08 kB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.241, allocations: 2.625 kB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.241, allocations: 0 / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.241, allocations: 14.86 kB / 328.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.241, allocations: 36.95 kB / 328.4 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.2411, allocations: 41.17 kB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2411, allocations: 0 / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2411, allocations: 0 / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.2411, allocations: 0 / 328.4 MB, free: 15.9 MB / 270.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.0004434/0.2416, allocations: 377.1 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.2416, allocations: 6.969 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.2417, allocations: 9.938 kB / 328.8 MB, free: 15.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2418, allocations: 173.7 kB / 329 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2418, allocations: 6.828 kB / 329 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2418, allocations: 3.844 kB / 329 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.2421, allocations: 116.3 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.2421, allocations: 1.062 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2421, allocations: 5.094 kB / 329.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2421, allocations: 2.156 kB / 329.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.2424, allocations: 71.31 kB / 329.2 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.2431, allocations: 0.6518 MB / 329.8 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2432, allocations: 117.5 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2433, allocations: 1.469 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2433, allocations: 37 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.2433, allocations: 4 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004625/0.2438, allocations: 136.1 kB / 330.1 MB, free: 14.22 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.2439, allocations: 160.5 kB / 330.3 MB, free: 14.03 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.244, allocations: 126.1 kB / 330.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.244, allocations: 27.08 kB / 330.4 MB, free: 13.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2441, allocations: 95.97 kB / 330.5 MB, free: 13.79 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.2441, allocations: 21.73 kB / 330.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.2442, allocations: 0 / 330.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2443, allocations: 324.3 kB / 330.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.2444, allocations: 29.03 kB / 330.9 MB, free: 13.43 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/0.2445, allocations: 54.94 kB / 330.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.834e-05/0.2446, allocations: 30.67 kB / 330.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2446, allocations: 1.438 kB / 330.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000241/0.2448, allocations: 109.4 kB / 331.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2449, allocations: 5.719 kB / 331.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2449, allocations: 1.281 kB / 331.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2449, allocations: 1.5 kB / 331.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.245, allocations: 14.58 kB / 331.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.245, allocations: 6.812 kB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.2451, allocations: 14.94 kB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2451, allocations: 2.688 kB / 331.1 MB, free: 13.29 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.614e-05/0.2452, allocations: 123.2 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.2453, allocations: 7.656 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.2453, allocations: 13.95 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2453, allocations: 1.406 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2453, allocations: 5.312 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2454, allocations: 1.375 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.2457, allocations: 185.4 kB / 331.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2457, allocations: 0.9688 kB / 331.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.2458, allocations: 14.7 kB / 331.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2458, allocations: 2.094 kB / 331.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2459, allocations: 2.344 kB / 331.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2459, allocations: 1 kB / 331.5 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2459, allocations: 1.219 kB / 331.5 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.2463, allocations: 0.5449 MB / 332 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.2464, allocations: 92.34 kB / 332.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.2464, allocations: 2.25 kB / 332.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.2466, allocations: 11.42 kB / 332.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.2467, allocations: 19.3 kB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2467, allocations: 2.406 kB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.2468, allocations: 92.14 kB / 332.2 MB, free: 12.17 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2468, allocations: 0 / 332.2 MB, free: 12.17 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.2472, allocations: 8.656 kB / 332.2 MB, free: 12.17 MB / 270.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 (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.0001225/0.2473, allocations: 101.2 kB / 332.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.2476, allocations: 66.78 kB / 332.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2476, allocations: 0.9375 kB / 332.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2477, allocations: 48.56 kB / 332.4 MB, free: 12.03 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.248, allocations: 7.047 kB / 332.4 MB, free: 12.03 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.2485, allocations: 240 kB / 332.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2488, allocations: 0.6904 MB / 333.4 MB, free: 11.1 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.868e-05/0.2489, allocations: 10.14 kB / 333.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.2489, allocations: 9.438 kB / 333.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2489, allocations: 1 kB / 333.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of Templates: time 0.00235/0.2513, allocations: 439.6 kB / 333.8 MB, free: 10.86 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.1_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) Environment - environmentSimulation: