Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [: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.003453/0.003453, allocations: 184.9 kB / 7.452 MB, free: 2.52 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.231/1.231, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001777/0.001777, allocations: 111.9 kB / 217.7 MB, free: 8.203 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.1857/0.1857, allocations: 37.99 MB / 294.8 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.163e-06/7.184e-06, allocations: 1.594 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3388/0.4469, allocations: 74.2 MB / 472.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4472, allocations: 70.39 kB / 472.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005623/0.4529, allocations: 2.005 MB / 474.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4529, allocations: 4 kB / 474.5 MB, free: 13.19 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004053/0.4533, allocations: 405.3 kB / 474.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4534, allocations: 11.5 kB / 474.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4534, allocations: 19.5 kB / 474.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.4537, allocations: 199.4 kB / 475.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4537, allocations: 3.969 kB / 475.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.4537, allocations: 14.75 kB / 475.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001655/0.4539, allocations: 59.23 kB / 475.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.4541, allocations: 97.3 kB / 475.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4541, allocations: 0 / 475.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4541, allocations: 1.969 kB / 475.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4541, allocations: 3.781 kB / 475.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.4547, allocations: 433.1 kB / 475.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.4548, allocations: 73.89 kB / 475.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.4549, allocations: 55.67 kB / 475.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.4549, allocations: 0 / 475.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.455, allocations: 42.47 kB / 475.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.455, allocations: 0 / 475.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001106/0.4561, allocations: 0.7007 MB / 476.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.4561, allocations: 54.62 kB / 476.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.4562, allocations: 108.5 kB / 476.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.4562, allocations: 25.7 kB / 476.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.4563, allocations: 117.1 kB / 476.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.4563, allocations: 62.39 kB / 476.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.4563, allocations: 0 / 476.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.4564, allocations: 328.1 kB / 477.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.944e-05/0.4565, allocations: 35.7 kB / 477.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.4565, allocations: 65.22 kB / 477.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.4566, allocations: 43.64 kB / 477.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4566, allocations: 3.75 kB / 477.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002587/0.4569, allocations: 173.2 kB / 477.6 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4569, allocations: 7.812 kB / 477.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4569, allocations: 3.781 kB / 477.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.4571, allocations: 38.92 kB / 477.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4573, allocations: 33.86 kB / 477.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.4585, allocations: 1.484 MB / 479.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.4585, allocations: 7.078 kB / 479.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.4586, allocations: 7.562 kB / 479.2 MB, free: 9.695 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.4587, allocations: 108.7 kB / 479.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.4587, allocations: 11.47 kB / 479.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.4587, allocations: 14.84 kB / 479.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4588, allocations: 0 / 479.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.4588, allocations: 11.66 kB / 479.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4588, allocations: 3.141 kB / 479.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.4595, allocations: 497.7 kB / 479.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4595, allocations: 0 / 479.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.4597, allocations: 40.22 kB / 479.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-05/0.4598, allocations: 27.3 kB / 479.8 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4598, allocations: 7.906 kB / 479.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009293/0.4608, allocations: 1.303 MB / 481.2 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.4608, allocations: 3.906 kB / 481.2 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004055/0.4612, allocations: 328.6 kB / 481.5 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.4613, allocations: 94.66 kB / 481.6 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.4613, allocations: 3.844 kB / 481.6 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4614, allocations: 6.75 kB / 481.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.4615, allocations: 13.56 kB / 481.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.4615, allocations: 7.812 kB / 481.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.711e-05/0.4616, allocations: 94.33 kB / 481.7 MB, free: 7.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.4619, allocations: 38.94 kB / 481.7 MB, free: 7.676 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0001697/0.4621, allocations: 93.45 kB / 481.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.4625, allocations: 217 kB / 482 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4625, allocations: 0 / 482 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.4627, allocations: 165.3 kB / 482.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.463, allocations: 18.34 kB / 482.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.4637, allocations: 330.3 kB / 482.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.4639, allocations: 0.7411 MB / 483.3 MB, free: 22.46 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.464, allocations: 0 / 483.3 MB, free: 22.46 MB / 346.7 MB Notification: Performance of Templates: time 0.004413/0.4684, allocations: 1.571 MB / 484.9 MB, free: 22.33 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1)