Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep") translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001962/0.001962, allocations: 197.1 kB / 8.139 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.266/1.266, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00182/0.001821, allocations: 116.8 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.51e-06, allocations: 0 / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0684/0.06842, allocations: 44.49 MB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.2535, allocations: 71.67 MB / 413.7 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001648/0.2537, allocations: 71.64 kB / 413.8 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02937/0.2831, allocations: 12.84 MB / 426.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.2832, allocations: 24 kB / 426.6 MB, free: 12.94 MB / 314.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.001289/0.2845, allocations: 0.9252 MB / 427.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2845, allocations: 12.03 kB / 427.6 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.2847, allocations: 98.86 kB / 427.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/0.2853, allocations: 490.1 kB / 428.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.2854, allocations: 47.61 kB / 428.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.2855, allocations: 71.44 kB / 428.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00127/0.2868, allocations: 0.7626 MB / 429 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.2882, allocations: 0.8865 MB / 429.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.2883, allocations: 1.406 kB / 429.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.2884, allocations: 3.812 kB / 429.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.2884, allocations: 28 kB / 430 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.2914, allocations: 2.697 MB / 432.7 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.2924, allocations: 0.6008 MB / 433.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.2928, allocations: 353.2 kB / 433.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.2929, allocations: 14.83 kB / 433.6 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005273/0.2934, allocations: 379.8 kB / 434 MB, free: 7.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.935e-06/0.2934, allocations: 0 / 434 MB, free: 7.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.0009656/0.2944, allocations: 0.5709 MB / 434.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2944, allocations: 75.89 kB / 434.6 MB, free: 6.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.2947, allocations: 307.8 kB / 434.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-05/0.2948, allocations: 58.88 kB / 435 MB, free: 6.375 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2949, allocations: 298.6 kB / 435.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.2951, allocations: 237.5 kB / 435.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.2951, allocations: 0 / 435.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.2952, allocations: 371.8 kB / 435.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.2957, allocations: 275.4 kB / 436.1 MB, free: 5.406 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.2963, allocations: 0.4949 MB / 436.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.2968, allocations: 285.1 kB / 436.9 MB, free: 4.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.2968, allocations: 4 kB / 436.9 MB, free: 4.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001286/0.2981, allocations: 0.8422 MB / 437.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2982, allocations: 9.094 kB / 437.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2982, allocations: 11.84 kB / 437.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.2982, allocations: 12 kB / 437.8 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.2986, allocations: 128.1 kB / 437.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.2986, allocations: 15.94 kB / 437.9 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.299, allocations: 51.97 kB / 438 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.2991, allocations: 53.83 kB / 438 MB, free: 3.867 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 () * 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.0001747/0.2993, allocations: 205.9 kB / 438.2 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.2994, allocations: 55.33 kB / 438.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.3005, allocations: 0.6457 MB / 438.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3005, allocations: 15.91 kB / 439 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3005, allocations: 0 / 439 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3005, allocations: 3.984 kB / 439 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.3028, allocations: 1.569 MB / 440.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3029, allocations: 0 / 440.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.3032, allocations: 79.52 kB / 440.6 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.3032, allocations: 7.984 kB / 440.6 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/0.3032, allocations: 11.98 kB / 440.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3032, allocations: 0 / 440.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3032, allocations: 4 kB / 440.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009195/0.3042, allocations: 0.6967 MB / 441.3 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.3042, allocations: 132.3 kB / 441.5 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.3043, allocations: 7.75 kB / 441.5 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.3047, allocations: 31.97 kB / 441.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.3049, allocations: 131.6 kB / 441.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/0.305, allocations: 31.67 kB / 441.7 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.403e-05/0.3051, allocations: 152.1 kB / 441.8 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005407/0.3056, allocations: 151.8 kB / 442 MB, free: 0.6797 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) * 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.0001856/0.3058, allocations: 151.8 kB / 442.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.3068, allocations: 0.7655 MB / 442.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3068, allocations: 0 / 442.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.3074, allocations: 378.8 kB / 443.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3078, allocations: 56.73 kB / 443.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.3101, allocations: 1.043 MB / 444.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/0.3109, allocations: 1.046 MB / 445.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3109, allocations: 0 / 445.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Templates: time 0.0158/0.3267, allocations: 8.586 MB / 454 MB, free: 5.188 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.makefile (rm -f Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; mkfifo Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.pipe >> ../files/Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.sim & ./Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.pipe 2>&1)