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.007302/0.007302, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001481/0.001481, allocations: 195 kB / 16.67 MB, free: 5.977 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.56/1.56, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001176/0.001176, allocations: 45 kB / 326.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1092, allocations: 46.63 MB / 373.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00297/0.1123, allocations: 1.58 MB / 374.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000972/0.1133, allocations: 475.4 kB / 375.2 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.1133, allocations: 0 / 375.2 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.1134, allocations: 7.922 kB / 375.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.1135, allocations: 15.81 kB / 375.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1137, allocations: 23.95 kB / 375.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.1138, allocations: 59.86 kB / 375.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.114, allocations: 59.77 kB / 375.4 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1141, allocations: 27.91 kB / 375.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.916e-05/0.1142, allocations: 27.86 kB / 375.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1143, allocations: 4 kB / 375.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.1143, allocations: 4 kB / 375.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.1143, allocations: 19.92 kB / 375.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1144, allocations: 27.8 kB / 375.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1145, allocations: 67.72 kB / 375.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1146, allocations: 4 kB / 375.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1146, allocations: 0 / 375.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1146, allocations: 0 / 375.5 MB, free: 15.06 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.0007944/0.1154, allocations: 387.1 kB / 375.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1154, allocations: 11.97 kB / 375.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.1155, allocations: 8.891 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1156, allocations: 184.1 kB / 376.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1157, allocations: 4.375 kB / 376.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1157, allocations: 12.38 kB / 376.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.1159, allocations: 114.2 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.116, allocations: 0 / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.116, allocations: 0 / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.116, allocations: 4 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.1162, allocations: 63.89 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.1169, allocations: 0.6264 MB / 376.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1171, allocations: 116.9 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1172, allocations: 52.47 kB / 377.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1172, allocations: 8 kB / 377.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1172, allocations: 34.5 kB / 377.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1172, allocations: 4 kB / 377.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004486/0.1177, allocations: 129.5 kB / 377.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1178, allocations: 154.2 kB / 377.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1179, allocations: 121.6 kB / 377.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.118, allocations: 30.33 kB / 377.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.118, allocations: 104 kB / 377.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1181, allocations: 15.91 kB / 377.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1181, allocations: 21.7 kB / 377.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1183, allocations: 318.8 kB / 378 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.1184, allocations: 23.92 kB / 378 MB, free: 12.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.1185, allocations: 52.27 kB / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1187, allocations: 80.2 kB / 378.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1187, allocations: 0 / 378.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002201/0.1189, allocations: 101.5 kB / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1189, allocations: 5.094 kB / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1189, allocations: 7.938 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.119, allocations: 0 / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1191, allocations: 11.98 kB / 378.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1191, allocations: 4.125 kB / 378.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.1192, allocations: 20.08 kB / 378.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1192, allocations: 8 kB / 378.3 MB, free: 11.91 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.0001217/0.1193, allocations: 121.8 kB / 378.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.308e-05/0.1194, allocations: 7.953 kB / 378.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.1194, allocations: 7.531 kB / 378.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1195, allocations: 7.938 kB / 378.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1195, allocations: 0 / 378.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.1195, allocations: 11.92 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.1199, allocations: 185.6 kB / 378.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1199, allocations: 4 kB / 378.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.12, allocations: 8 kB / 378.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.12, allocations: 4 kB / 378.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.12, allocations: 0 / 378.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.12, allocations: 3.984 kB / 378.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.12, allocations: 4 kB / 378.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.1205, allocations: 0.4887 MB / 379.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.1205, allocations: 85.06 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1205, allocations: 0 / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1208, allocations: 15.98 kB / 379.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.1209, allocations: 11.94 kB / 379.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1209, allocations: 0 / 379.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.463e-05/0.1209, allocations: 91.27 kB / 379.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.121, allocations: 0 / 379.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.1213, allocations: 16 kB / 379.4 MB, free: 10.75 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.0001636/0.1215, allocations: 95.19 kB / 379.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1218, allocations: 64.02 kB / 379.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1218, allocations: 0 / 379.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1219, allocations: 35.92 kB / 379.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.1224, allocations: 11.92 kB / 379.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.123, allocations: 206.9 kB / 379.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.1234, allocations: 0.6885 MB / 380.5 MB, free: 9.586 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.1235, allocations: 4 kB / 380.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.1235, allocations: 15.44 kB / 380.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1236, allocations: 0 / 380.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of Templates: time 0.003161/0.1267, allocations: 0.5599 MB / 381.1 MB, free: 9.008 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)