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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001475, allocations: 108.7 kB / 16.51 MB, free: 6.707 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.001453/0.001453, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.583/1.583, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001332/0.001332, allocations: 43.94 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 46.62 MB / 325.9 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003315/0.1212, allocations: 1.656 MB / 327.6 MB, free: 3.234 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000789/0.122, allocations: 463.8 kB / 328 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.1221, allocations: 0 / 328 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.452e-05/0.1221, allocations: 7.938 kB / 328.1 MB, free: 2.766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.1222, allocations: 11.92 kB / 328.1 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1224, allocations: 19.92 kB / 328.1 MB, free: 2.734 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.443e-05/0.1225, allocations: 55.78 kB / 328.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1227, allocations: 39.98 kB / 328.2 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1228, allocations: 35.78 kB / 328.2 MB, free: 2.605 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.1229, allocations: 23.86 kB / 328.2 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1229, allocations: 4 kB / 328.2 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.123, allocations: 8 kB / 328.3 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.123, allocations: 15.92 kB / 328.3 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.123, allocations: 27.8 kB / 328.3 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1231, allocations: 63.94 kB / 328.4 MB, free: 2.465 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1232, allocations: 0 / 328.4 MB, free: 2.465 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1232, allocations: 0 / 328.4 MB, free: 2.465 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1232, allocations: 0 / 328.4 MB, free: 2.465 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.0005302/0.1237, allocations: 383.2 kB / 328.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1238, allocations: 12.03 kB / 328.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.1238, allocations: 8.844 kB / 328.8 MB, free: 2.023 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1239, allocations: 168.3 kB / 328.9 MB, free: 1.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.124, allocations: 8.359 kB / 328.9 MB, free: 1.812 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.124, allocations: 12.31 kB / 328.9 MB, free: 1.801 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.1242, allocations: 110.3 kB / 329 MB, free: 1.672 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1243, allocations: 4 kB / 329 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1243, allocations: 0 / 329 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1243, allocations: 7.984 kB / 329.1 MB, free: 1.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1245, allocations: 59.89 kB / 329.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.1251, allocations: 0.6418 MB / 329.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1253, allocations: 117 kB / 329.9 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1254, allocations: 52.34 kB / 329.9 MB, free: 0.668 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1255, allocations: 3.938 kB / 329.9 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1255, allocations: 38.56 kB / 330 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1255, allocations: 0 / 330 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.000455/0.126, allocations: 122 kB / 330.1 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.1261, allocations: 162.2 kB / 330.2 MB, free: 304 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1262, allocations: 125.7 kB / 330.4 MB, free: 168 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1262, allocations: 29.64 kB / 330.4 MB, free: 132 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.1263, allocations: 104 kB / 330.5 MB, free: 24 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.1263, allocations: 11.81 kB / 330.5 MB, free: 12 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.1264, allocations: 21.8 kB / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1265, allocations: 318.8 kB / 330.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.1266, allocations: 23.98 kB / 330.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.1267, allocations: 52.27 kB / 330.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1269, allocations: 80.2 kB / 331 MB, free: 15.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1269, allocations: 128 / 331 MB, free: 15.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002189/0.1271, allocations: 97.69 kB / 331.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1272, allocations: 12 kB / 331.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1272, allocations: 0 / 331.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1272, allocations: 0 / 331.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1273, allocations: 15.98 kB / 331.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.1273, allocations: 3.984 kB / 331.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.1274, allocations: 11.88 kB / 331.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1274, allocations: 8 kB / 331.1 MB, free: 15.32 MB / 286.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.0001123/0.1276, allocations: 125.7 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.1276, allocations: 11.91 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.1277, allocations: 15.48 kB / 331.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1277, allocations: 0 / 331.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.1277, allocations: 4 kB / 331.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1277, allocations: 3.938 kB / 331.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.1281, allocations: 181.6 kB / 331.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1281, allocations: 0 / 331.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.1282, allocations: 11.98 kB / 331.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.1282, allocations: 4 kB / 331.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1282, allocations: 0 / 331.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1282, allocations: 8 kB / 331.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1282, allocations: 3.938 kB / 331.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.1286, allocations: 496.5 kB / 332 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.1286, allocations: 85.02 kB / 332.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1286, allocations: 4 kB / 332.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1289, allocations: 8 kB / 332.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1289, allocations: 19.8 kB / 332.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1289, allocations: 0 / 332.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.129, allocations: 95.27 kB / 332.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.129, allocations: 0 / 332.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.1294, allocations: 16 kB / 332.2 MB, free: 14.16 MB / 286.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.0001016/0.1295, allocations: 95.19 kB / 332.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1297, allocations: 59.89 kB / 332.4 MB, free: 14 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1297, allocations: 0 / 332.4 MB, free: 14 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.1298, allocations: 36.42 kB / 332.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.1303, allocations: 8 kB / 332.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.1309, allocations: 228.3 kB / 332.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1312, allocations: 0.6926 MB / 333.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.682e-05/0.1312, allocations: 3.984 kB / 333.3 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1312, allocations: 11.44 kB / 333.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1313, allocations: 0 / 333.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of Templates: time 0.002597/0.1339, allocations: 461.5 kB / 333.8 MB, free: 12.51 MB / 286.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)