Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.6967/0.6967, allocations: 110.8 MB / 118 MB, free: 14.65 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002076/0.002076, allocations: 156 kB / 143.7 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.872e-06/6.903e-06, allocations: 0 / 173.5 MB, free: 23.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04857/0.04859, allocations: 25.17 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.196, allocations: 33.96 MB / 232.6 MB, free: 4.418 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.1963, allocations: 65.44 kB / 232.6 MB, free: 4.418 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.00846/0.2047, allocations: 3.106 MB / 235.8 MB, free: 4.195 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.2048, allocations: 3.875 kB / 235.8 MB, free: 4.195 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006717/0.2055, allocations: 467.5 kB / 236.2 MB, free: 3.797 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.2055, allocations: 7.844 kB / 236.2 MB, free: 3.797 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.2056, allocations: 27.38 kB / 236.2 MB, free: 3.781 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.206, allocations: 219.6 kB / 236.5 MB, free: 3.562 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2061, allocations: 7.906 kB / 236.5 MB, free: 3.562 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.2061, allocations: 18.66 kB / 236.5 MB, free: 3.559 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002935/0.2064, allocations: 95.06 kB / 236.6 MB, free: 3.559 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.2068, allocations: 172.3 kB / 236.8 MB, free: 3.504 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.2068, allocations: 10.5 kB / 236.8 MB, free: 3.496 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.2069, allocations: 0 / 236.8 MB, free: 3.496 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2069, allocations: 3.875 kB / 236.8 MB, free: 3.496 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.2079, allocations: 0.6424 MB / 237.4 MB, free: 3.141 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.208, allocations: 94.16 kB / 237.5 MB, free: 3.121 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.2081, allocations: 50.08 kB / 237.5 MB, free: 3.113 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.2082, allocations: 3.875 kB / 237.6 MB, free: 3.113 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.2082, allocations: 38.44 kB / 237.6 MB, free: 3.07 MB / 170.7 MB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.2082, allocations: 0 / 237.6 MB, free: 3.07 MB / 170.7 MB Notification: Performance of matching and sorting (n=23): time 0.001194/0.2094, allocations: 0.7368 MB / 238.3 MB, free: 2.574 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2094, allocations: 62.44 kB / 238.4 MB, free: 2.508 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2096, allocations: 140.1 kB / 238.5 MB, free: 2.41 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2096, allocations: 25.7 kB / 238.5 MB, free: 2.379 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.2097, allocations: 135 kB / 238.7 MB, free: 2.266 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.2097, allocations: 82.42 kB / 238.8 MB, free: 2.207 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.2097, allocations: 0.6562 kB / 238.8 MB, free: 2.207 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.2098, allocations: 329.5 kB / 239.1 MB, free: 1.895 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.2099, allocations: 40.38 kB / 239.1 MB, free: 1.895 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.21, allocations: 83.06 kB / 239.2 MB, free: 1.852 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.2101, allocations: 51.44 kB / 239.3 MB, free: 1.852 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.2101, allocations: 3.938 kB / 239.3 MB, free: 1.848 MB / 170.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003293/0.2105, allocations: 211.1 kB / 239.5 MB, free: 1.781 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2105, allocations: 11.31 kB / 239.5 MB, free: 1.777 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2105, allocations: 0.9375 kB / 239.5 MB, free: 1.777 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.2107, allocations: 35.33 kB / 239.5 MB, free: 1.77 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2109, allocations: 49.09 kB / 239.6 MB, free: 1.766 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009477/0.2119, allocations: 1.309 MB / 240.9 MB, free: 0.5586 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.212, allocations: 8.625 kB / 240.9 MB, free: 0.5547 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.212, allocations: 6.031 kB / 240.9 MB, free: 0.5547 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.768e-05/0.2121, allocations: 116.3 kB / 241 MB, free: 452 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.2121, allocations: 13.72 kB / 241 MB, free: 444 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.2122, allocations: 23 kB / 241 MB, free: 444 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2122, allocations: 0 / 241 MB, free: 444 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2122, allocations: 0 / 241 MB, free: 444 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2122, allocations: 8.938 kB / 241 MB, free: 440 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007257/0.213, allocations: 0.573 MB / 241.6 MB, free: 16.08 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.213, allocations: 144 / 241.6 MB, free: 16.08 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.2132, allocations: 48.47 kB / 241.7 MB, free: 16.08 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.2133, allocations: 40.58 kB / 241.7 MB, free: 16.06 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2133, allocations: 1.453 kB / 241.7 MB, free: 16.06 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.2144, allocations: 1.308 MB / 243 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2144, allocations: 0 / 243 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004541/0.2148, allocations: 387.5 kB / 243.4 MB, free: 14.65 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.2149, allocations: 106.5 kB / 243.5 MB, free: 14.54 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.215, allocations: 0 / 243.5 MB, free: 14.54 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.2151, allocations: 5.188 kB / 243.5 MB, free: 14.54 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.2152, allocations: 16.08 kB / 243.5 MB, free: 14.54 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.2152, allocations: 3.906 kB / 243.5 MB, free: 14.54 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.364e-05/0.2153, allocations: 122.2 kB / 243.6 MB, free: 14.46 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.2156, allocations: 46.78 kB / 243.7 MB, free: 14.46 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001587/0.2157, allocations: 99.94 kB / 243.8 MB, free: 14.37 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2162, allocations: 243.9 kB / 244 MB, free: 14.26 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2162, allocations: 0 / 244 MB, free: 14.26 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.2164, allocations: 191.4 kB / 244.2 MB, free: 14.15 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.2168, allocations: 35.66 kB / 244.2 MB, free: 14.13 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009877/0.2178, allocations: 0.4894 MB / 244.7 MB, free: 13.83 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/0.2181, allocations: 0.7648 MB / 245.5 MB, free: 13.12 MB / 186.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2182, allocations: 3.938 kB / 245.5 MB, free: 13.12 MB / 186.7 MB Notification: Performance of Templates: time 0.00642/0.2246, allocations: 2.152 MB / 247.7 MB, free: 12.86 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)