Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep") translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008779/0.008779, allocations: 166.9 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.487/1.487, allocations: 170.8 MB / 186.6 MB, free: 0.9727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001683/0.001683, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 11.98 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2948, allocations: 38.76 MB / 312.9 MB, free: 38.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3968, allocations: 67.2 MB / 380.1 MB, free: 7.32 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.3971, allocations: 71.97 kB / 380.1 MB, free: 7.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03375/0.4309, allocations: 13.53 MB / 393.7 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.4309, allocations: 3.984 kB / 393.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.354e-05/0.431, allocations: 27.94 kB / 393.7 MB, free: 9.629 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001652/0.4326, allocations: 0.947 MB / 394.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.4327, allocations: 8.031 kB / 394.7 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.4329, allocations: 94.97 kB / 394.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/0.4337, allocations: 494.5 kB / 395.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4339, allocations: 102 kB / 395.3 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.434, allocations: 112 kB / 395.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.4359, allocations: 1.035 MB / 396.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.4359, allocations: 0 / 396.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-05/0.436, allocations: 47.98 kB / 396.5 MB, free: 6.656 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.4361, allocations: 24 kB / 396.5 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.4376, allocations: 0.8276 MB / 397.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.442, allocations: 2.898 MB / 400.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.4435, allocations: 0.7299 MB / 401 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.008e-05/0.4436, allocations: 24.92 kB / 401 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008247/0.4444, allocations: 429 kB / 401.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 4.268e-06/0.4444, allocations: 4.406 kB / 401.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.002089/0.4465, allocations: 0.9451 MB / 402.4 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.4466, allocations: 72.39 kB / 402.5 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.4471, allocations: 324.8 kB / 402.8 MB, free: 244 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.4473, allocations: 81.69 kB / 402.9 MB, free: 156 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.4476, allocations: 313 kB / 403.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.4478, allocations: 256.8 kB / 403.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.4479, allocations: 24 kB / 403.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.4481, allocations: 370.8 kB / 403.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.4487, allocations: 314.5 kB / 404.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007601/0.4495, allocations: 0.5371 MB / 404.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.4501, allocations: 314.4 kB / 405 MB, free: 13.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4501, allocations: 4 kB / 405 MB, free: 13.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001572/0.4517, allocations: 0.973 MB / 405.9 MB, free: 12.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.4517, allocations: 11.95 kB / 405.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.4518, allocations: 8 kB / 406 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.4518, allocations: 12 kB / 406 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.4523, allocations: 127.6 kB / 406.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.4523, allocations: 15.94 kB / 406.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.4527, allocations: 75.75 kB / 406.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4528, allocations: 55.98 kB / 406.2 MB, free: 12.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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 0.0005164/0.4533, allocations: 352.8 kB / 406.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.579e-05/0.4534, allocations: 51.34 kB / 406.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.4548, allocations: 0.7924 MB / 407.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4548, allocations: 11.98 kB / 407.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4548, allocations: 0 / 407.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.4548, allocations: 7.984 kB / 407.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.4576, allocations: 1.812 MB / 409.3 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4577, allocations: 0 / 409.3 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.4579, allocations: 75.77 kB / 409.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.458, allocations: 8 kB / 409.3 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.458, allocations: 19.98 kB / 409.4 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.458, allocations: 4 kB / 409.4 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.458, allocations: 7.891 kB / 409.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4591, allocations: 0.8119 MB / 410.2 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.4593, allocations: 136.4 kB / 410.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.4593, allocations: 16 kB / 410.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.4596, allocations: 43.97 kB / 410.4 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.4599, allocations: 140.7 kB / 410.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.46, allocations: 31.98 kB / 410.5 MB, free: 8.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.4602, allocations: 166 kB / 410.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4602, allocations: 0 / 410.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00086/0.4611, allocations: 183.9 kB / 410.9 MB, free: 7.934 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0003516/0.4614, allocations: 183.7 kB / 411.1 MB, free: 7.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.463, allocations: 0.8315 MB / 411.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.463, allocations: 4.25 kB / 411.9 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006219/0.4636, allocations: 401.6 kB / 412.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.464, allocations: 73.11 kB / 412.4 MB, free: 6.445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.467, allocations: 1.571 MB / 413.9 MB, free: 4.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.4676, allocations: 0.9784 MB / 414.9 MB, free: 3.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003619/0.4679, allocations: 114.2 kB / 415 MB, free: 3.727 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.4682, allocations: 79.39 kB / 415.1 MB, free: 3.648 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4682, allocations: 0 / 415.1 MB, free: 3.648 MB / 314.7 MB Notification: Performance of Templates: time 0.1934/0.6615, allocations: 7.458 MB / 422.6 MB, free: 85.47 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.makefile (rm -f Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; mkfifo Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.pipe >> ../files/Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.sim & ./Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.pipe 2>&1)