Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002545/0.002545, allocations: 182.9 kB / 7.456 MB, free: 2.504 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.203/1.203, allocations: 194.2 MB / 202.1 MB, free: 8.637 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.001747/0.001747, allocations: 121.9 kB / 247.1 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1733/0.1733, allocations: 39.95 MB / 331.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.045e-05, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.08554, allocations: 54.88 MB / 447.6 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.289/0.3746, allocations: 80.24 MB / 0.5155 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.3749, allocations: 64.33 kB / 0.5156 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01718/0.3921, allocations: 6.514 MB / 0.5219 GB, free: 8.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.3921, allocations: 11.53 kB / 0.522 GB, free: 8.848 MB / 346.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.0009942/0.3931, allocations: 0.607 MB / 0.5225 GB, free: 8.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.3932, allocations: 9.5 kB / 0.5226 GB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.3933, allocations: 53.62 kB / 0.5226 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3936, allocations: 227.3 kB / 0.5228 GB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.3936, allocations: 14.47 kB / 0.5228 GB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/0.3937, allocations: 33.08 kB / 0.5229 GB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004473/0.3942, allocations: 214.1 kB / 0.5231 GB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.3948, allocations: 379.9 kB / 0.5234 GB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.3948, allocations: 12.72 kB / 0.5234 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.3948, allocations: 1.688 kB / 0.5234 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3949, allocations: 11.62 kB / 0.5235 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.3967, allocations: 1.618 MB / 0.525 GB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.3971, allocations: 332.8 kB / 0.5254 GB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.3973, allocations: 140.7 kB / 0.5255 GB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3973, allocations: 9.188 kB / 0.5255 GB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3973, allocations: 45.41 kB / 0.5255 GB, free: 6.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.3974, allocations: 7.938 kB / 0.5255 GB, free: 6.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005543/0.3979, allocations: 242.4 kB / 0.5258 GB, free: 6.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.398, allocations: 262.3 kB / 0.526 GB, free: 5.965 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3982, allocations: 209.8 kB / 0.5262 GB, free: 5.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3982, allocations: 25.7 kB / 0.5263 GB, free: 5.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.3983, allocations: 225.3 kB / 0.5265 GB, free: 5.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.3984, allocations: 180.9 kB / 0.5266 GB, free: 5.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.3984, allocations: 0 / 0.5266 GB, free: 5.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.3985, allocations: 349.4 kB / 0.527 GB, free: 5.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3987, allocations: 94.84 kB / 0.5271 GB, free: 5.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.3989, allocations: 391.2 kB / 0.5274 GB, free: 4.777 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3992, allocations: 162.3 kB / 0.5276 GB, free: 4.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3992, allocations: 1.875 kB / 0.5276 GB, free: 4.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006834/0.3999, allocations: 481.9 kB / 0.5281 GB, free: 4.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3999, allocations: 5.25 kB / 0.5281 GB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3999, allocations: 9.438 kB / 0.5281 GB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.4, allocations: 20.08 kB / 0.5281 GB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.4006, allocations: 181.3 kB / 0.5283 GB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.4006, allocations: 26.33 kB / 0.5283 GB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.4009, allocations: 48.34 kB / 0.5283 GB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.4009, allocations: 31 kB / 0.5284 GB, free: 4.516 MB / 346.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.055e-05/0.401, allocations: 128.9 kB / 0.5285 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.4012, allocations: 38.12 kB / 0.5285 GB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.4013, allocations: 36.2 kB / 0.5286 GB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.4013, allocations: 6.656 kB / 0.5286 GB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.4013, allocations: 6.656 kB / 0.5286 GB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4013, allocations: 6.578 kB / 0.5286 GB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.4021, allocations: 357.2 kB / 0.5289 GB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4022, allocations: 2.531 kB / 0.5289 GB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.4028, allocations: 126.7 kB / 0.529 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.4028, allocations: 3.875 kB / 0.529 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.4028, allocations: 10.22 kB / 0.5291 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4028, allocations: 3.625 kB / 0.5291 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4028, allocations: 6.516 kB / 0.5291 GB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007005/0.4035, allocations: 1.13 MB / 0.5302 GB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.4036, allocations: 107.7 kB / 0.5303 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.4037, allocations: 8.625 kB / 0.5303 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.4041, allocations: 5.297 kB / 0.5303 GB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4041, allocations: 29.72 kB / 0.5303 GB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.4042, allocations: 13.94 kB / 0.5303 GB, free: 3.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001179/0.4043, allocations: 146.7 kB / 0.5305 GB, free: 2.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007989/0.4051, allocations: 125.4 kB / 0.5306 GB, free: 2.926 MB / 346.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.0001172/0.4052, allocations: 115.2 kB / 0.5307 GB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000491/0.4057, allocations: 303.4 kB / 0.531 GB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4057, allocations: 2.5 kB / 0.531 GB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.4059, allocations: 115.6 kB / 0.5311 GB, free: 2.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007886/0.4067, allocations: 66.48 kB / 0.5312 GB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.4092, allocations: 1.88 MB / 0.533 GB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.4097, allocations: 0.8771 MB / 0.5339 GB, free: 484 kB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4097, allocations: 0 / 0.5339 GB, free: 484 kB / 346.7 MB Notification: Performance of Templates: time 0.008563/0.4183, allocations: 3.835 MB / 0.5376 GB, free: 12.95 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)