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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005153/0.005153, allocations: 182.8 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.388/1.388, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.002055/0.002055, allocations: 115.8 kB / 217.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/7.975e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.0851, allocations: 38.76 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2716/0.3568, allocations: 66.36 MB / 366.9 MB, free: 2.379 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.3571, allocations: 65.16 kB / 366.9 MB, free: 2.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.03081/0.3879, allocations: 12.85 MB / 379.8 MB, free: 7.762 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.645e-05/0.388, allocations: 27.94 kB / 379.8 MB, free: 7.734 MB / 266.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.00164/0.3897, allocations: 0.9223 MB / 380.7 MB, free: 6.805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.3897, allocations: 8.031 kB / 380.7 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.39, allocations: 98.88 kB / 380.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.3907, allocations: 495.7 kB / 381.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.3908, allocations: 39.81 kB / 381.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.3909, allocations: 71.69 kB / 381.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001417/0.3924, allocations: 0.761 MB / 382.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.3941, allocations: 0.888 MB / 383.1 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.3941, allocations: 3.938 kB / 383.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.3942, allocations: 7.422 kB / 383.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.3942, allocations: 24 kB / 383.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003737/0.398, allocations: 2.692 MB / 385.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.399, allocations: 0.6109 MB / 386.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.3995, allocations: 331.4 kB / 386.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.3996, allocations: 16.2 kB / 386.7 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006284/0.4002, allocations: 384.6 kB / 387.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 4.408e-06/0.4002, allocations: 0 / 387.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.001237/0.4015, allocations: 0.5726 MB / 387.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.4016, allocations: 84.25 kB / 387.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.402, allocations: 306.2 kB / 388.1 MB, free: 1.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.4021, allocations: 57 kB / 388.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.4023, allocations: 303.3 kB / 388.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.4025, allocations: 238.6 kB / 388.7 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.4026, allocations: 0 / 388.7 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4028, allocations: 373.1 kB / 389 MB, free: 360 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.4032, allocations: 277.1 kB / 389.3 MB, free: 196 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.4039, allocations: 500 kB / 389.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.4045, allocations: 290.1 kB / 390.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.4045, allocations: 4 kB / 390.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001405/0.4059, allocations: 0.8333 MB / 390.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4059, allocations: 16.06 kB / 390.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4059, allocations: 4 kB / 390.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.406, allocations: 12 kB / 390.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.4064, allocations: 127.2 kB / 391.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.4064, allocations: 19.92 kB / 391.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.4068, allocations: 55.58 kB / 391.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.956e-05/0.4069, allocations: 55.48 kB / 391.2 MB, free: 14.66 MB / 282.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 () * 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.0002764/0.4072, allocations: 191.8 kB / 391.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/0.4073, allocations: 59.34 kB / 391.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.4086, allocations: 0.6447 MB / 392.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.4086, allocations: 12 kB / 392.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4086, allocations: 0 / 392.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.4086, allocations: 7.969 kB / 392.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.4113, allocations: 1.577 MB / 393.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4113, allocations: 0 / 393.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.4116, allocations: 78.58 kB / 393.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.4116, allocations: 11.91 kB / 393.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.4117, allocations: 3.984 kB / 393.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.4117, allocations: 7.938 kB / 393.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4117, allocations: 0 / 393.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001034/0.4127, allocations: 0.7021 MB / 394.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.4128, allocations: 124.4 kB / 394.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.4129, allocations: 11.73 kB / 394.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4132, allocations: 31.97 kB / 394.6 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.4135, allocations: 126.4 kB / 394.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.4135, allocations: 31.3 kB / 394.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001359/0.4137, allocations: 158.6 kB / 394.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006714/0.4143, allocations: 135.9 kB / 395.1 MB, free: 11.48 MB / 282.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) * 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.0002645/0.4146, allocations: 162.5 kB / 395.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.4158, allocations: 0.7668 MB / 396 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4158, allocations: 0 / 396 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.4164, allocations: 382.8 kB / 396.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.4168, allocations: 58 kB / 396.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.4195, allocations: 1.037 MB / 397.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/0.4204, allocations: 1.052 MB / 398.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of SimCode: time 2.315e-06/0.4204, allocations: 0 / 398.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of Templates: time 0.01801/0.4384, allocations: 8.585 MB / 407.1 MB, free: 15.84 MB / 298.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)