Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") [: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.004491/0.004491, allocations: 173 kB / 7.447 MB, free: 2.508 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.402/1.402, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.001908/0.001908, allocations: 120.5 kB / 217.7 MB, free: 8.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1648/0.1648, allocations: 37.97 MB / 294.8 MB, free: 9.648 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.343e-06/7.363e-06, allocations: 1.5 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09285, allocations: 48.71 MB / 398.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2663/0.3592, allocations: 73.87 MB / 472.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.3594, allocations: 64.77 kB / 472.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01644/0.3759, allocations: 6.525 MB / 478.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.3759, allocations: 11.75 kB / 478.7 MB, free: 12.99 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007767/0.3767, allocations: 0.6045 MB / 479.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3767, allocations: 7.781 kB / 479.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.3769, allocations: 50.69 kB / 479.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.377, allocations: 232.6 kB / 479.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3771, allocations: 11.62 kB / 479.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.3772, allocations: 35 kB / 479.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003788/0.3775, allocations: 213 kB / 479.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.378, allocations: 374.2 kB / 480.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.3781, allocations: 11.75 kB / 480.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.3781, allocations: 3.844 kB / 480.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3781, allocations: 15.72 kB / 480.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.38, allocations: 1.612 MB / 481.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.3803, allocations: 334.1 kB / 482.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.3804, allocations: 146 kB / 482.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3805, allocations: 15.66 kB / 482.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.3805, allocations: 49.5 kB / 482.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.3805, allocations: 0 / 482.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005094/0.381, allocations: 237.3 kB / 482.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.3811, allocations: 276.1 kB / 482.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3812, allocations: 196.1 kB / 483 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3812, allocations: 25.7 kB / 483.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.3813, allocations: 230 kB / 483.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.3814, allocations: 175.2 kB / 483.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.3814, allocations: 0 / 483.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.3815, allocations: 351.2 kB / 483.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3816, allocations: 96.19 kB / 483.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.3819, allocations: 395.9 kB / 484.3 MB, free: 9.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.3821, allocations: 164.5 kB / 484.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.3821, allocations: 3.875 kB / 484.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000605/0.3827, allocations: 476 kB / 484.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3827, allocations: 3.875 kB / 484.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3828, allocations: 15.78 kB / 484.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.3828, allocations: 15.5 kB / 485 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.3833, allocations: 185.4 kB / 485.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/0.3834, allocations: 26.19 kB / 485.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.3837, allocations: 46.88 kB / 485.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.3837, allocations: 33.75 kB / 485.2 MB, free: 9.141 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 8.2e-05/0.3838, allocations: 128 kB / 485.4 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.384, allocations: 34.62 kB / 485.4 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.3841, allocations: 43.69 kB / 485.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3841, allocations: 11.69 kB / 485.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3841, allocations: 3.875 kB / 485.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3841, allocations: 2.625 kB / 485.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.3849, allocations: 353.9 kB / 485.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3849, allocations: 0 / 485.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.3855, allocations: 124.6 kB / 485.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.3855, allocations: 6.125 kB / 485.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.3855, allocations: 7.125 kB / 485.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3855, allocations: 3.844 kB / 485.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3855, allocations: 11.69 kB / 486 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006146/0.3862, allocations: 1.129 MB / 487.1 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.3862, allocations: 111.2 kB / 487.2 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.3863, allocations: 7.719 kB / 487.2 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.3867, allocations: 128 / 487.2 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3868, allocations: 37.03 kB / 487.2 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3868, allocations: 14.91 kB / 487.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.934e-05/0.3869, allocations: 151.5 kB / 487.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008453/0.3877, allocations: 119.3 kB / 487.5 MB, free: 7.672 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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 Backend phase and start with SimCode phase: time 0.0001399/0.3879, allocations: 115.8 kB / 487.6 MB, free: 7.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.3883, allocations: 292.1 kB / 487.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3883, allocations: 0.9375 kB / 487.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3884, allocations: 123.8 kB / 488 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.3892, allocations: 70.53 kB / 488.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.3914, allocations: 1.873 MB / 490 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.3919, allocations: 0.8701 MB / 490.8 MB, free: 21.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3919, allocations: 4 kB / 490.9 MB, free: 21.49 MB / 346.7 MB Notification: Performance of Templates: time 0.007698/0.3996, allocations: 3.823 MB / 494.7 MB, free: 21.2 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)