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.01058/0.01058, allocations: 104.7 kB / 15.73 MB, free: 6.051 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.001664/0.001664, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.733/1.733, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001145/0.001145, allocations: 53.36 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1054, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002665/0.1081, allocations: 1.584 MB / 374.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.1088, allocations: 475.4 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.1089, allocations: 0 / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.109, allocations: 3.938 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.5e-05/0.1091, allocations: 15.81 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.1092, allocations: 23.95 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.1093, allocations: 55.84 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.1095, allocations: 55.78 kB / 375.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1097, allocations: 35.91 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.1097, allocations: 27.84 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1098, allocations: 8 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.1098, allocations: 4 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.1098, allocations: 15.94 kB / 375.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.1099, allocations: 31.8 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.11, allocations: 63.78 kB / 375.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.11, allocations: 3.984 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.11, allocations: 0 / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.11, allocations: 0 / 375.5 MB, free: 14.91 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.0005346/0.1106, allocations: 383.2 kB / 375.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1106, allocations: 11.97 kB / 375.9 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.1107, allocations: 8.844 kB / 375.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1108, allocations: 176.2 kB / 376.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1108, allocations: 8.375 kB / 376.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1108, allocations: 8.375 kB / 376.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1111, allocations: 114.2 kB / 376.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1111, allocations: 0 / 376.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1111, allocations: 0 / 376.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1111, allocations: 4 kB / 376.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1113, allocations: 63.89 kB / 376.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.1119, allocations: 0.6341 MB / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1121, allocations: 112.9 kB / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1122, allocations: 56.45 kB / 377.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1123, allocations: 4 kB / 377.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.1123, allocations: 38.5 kB / 377.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1123, allocations: 0 / 377.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004454/0.1128, allocations: 121.4 kB / 377.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.1129, allocations: 162.2 kB / 377.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.113, allocations: 126.2 kB / 377.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.113, allocations: 29.7 kB / 377.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1131, allocations: 96.03 kB / 377.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1131, allocations: 23.73 kB / 377.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.1131, allocations: 17.72 kB / 377.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1133, allocations: 322.8 kB / 378 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.1134, allocations: 15.98 kB / 378 MB, free: 12.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/0.1135, allocations: 60.22 kB / 378.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1136, allocations: 72.2 kB / 378.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1137, allocations: 4 kB / 378.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002337/0.1139, allocations: 101.4 kB / 378.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1139, allocations: 5.094 kB / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1139, allocations: 7.984 kB / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.114, allocations: 7.922 kB / 378.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.1141, allocations: 8.125 kB / 378.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1141, allocations: 12.16 kB / 378.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.1142, allocations: 11.92 kB / 378.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1142, allocations: 4 kB / 378.3 MB, free: 11.77 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.0001519/0.1143, allocations: 121.8 kB / 378.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.1144, allocations: 7.906 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.1145, allocations: 15.45 kB / 378.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1145, allocations: 4 kB / 378.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1145, allocations: 0 / 378.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1145, allocations: 7.938 kB / 378.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1149, allocations: 181.6 kB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1149, allocations: 7.938 kB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.115, allocations: 11.98 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.115, allocations: 4 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.115, allocations: 0 / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.115, allocations: 0 / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.115, allocations: 4 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.1154, allocations: 496.4 kB / 379.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.1154, allocations: 81.11 kB / 379.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.1155, allocations: 0 / 379.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1157, allocations: 7.984 kB / 379.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.1158, allocations: 19.92 kB / 379.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1158, allocations: 4 kB / 379.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.1158, allocations: 91.27 kB / 379.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1158, allocations: 0 / 379.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.1162, 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.0001125/0.1163, allocations: 91.25 kB / 379.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.1166, 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.113e-06/0.1166, allocations: 0 / 379.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.1167, allocations: 39.91 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.0005057/0.1172, 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.0004657/0.1177, allocations: 211.9 kB / 379.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.118, allocations: 0.6924 MB / 380.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.118, allocations: 0 / 380.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.118, allocations: 15.42 kB / 380.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1181, allocations: 0 / 380.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of Templates: time 0.002474/0.1205, allocations: 0.5594 MB / 381.1 MB, free: 8.871 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.makefile (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)