Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.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.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001195/0.001195, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.554/1.554, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001594/0.001594, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.488e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08643, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3172/0.4037, allocations: 73.06 MB / 422.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.404, allocations: 68.81 kB / 422.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009489/0.4135, allocations: 3.843 MB / 426.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4135, allocations: 4 kB / 426.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.4135, allocations: 3.875 kB / 426.4 MB, free: 10.08 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000473/0.414, allocations: 466.8 kB / 426.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4141, allocations: 7.656 kB / 426.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.4141, allocations: 27.34 kB / 426.9 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.4144, allocations: 240.1 kB / 427.1 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4144, allocations: 18.81 kB / 427.2 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.4144, allocations: 26.25 kB / 427.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.4148, allocations: 182.1 kB / 427.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4148, allocations: 3.5 kB / 427.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.4148, allocations: 7.656 kB / 427.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4148, allocations: 3.844 kB / 427.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.415, allocations: 124.9 kB / 427.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.4158, allocations: 0.6271 MB / 428.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.416, allocations: 179.5 kB / 428.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4161, allocations: 91.28 kB / 428.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.4162, allocations: 0 / 428.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.4162, allocations: 38.33 kB / 428.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.4162, allocations: 0 / 428.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001328/0.4175, allocations: 0.9748 MB / 429.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.4176, allocations: 59.14 kB / 429.5 MB, free: 8.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4177, allocations: 160.6 kB / 429.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4177, allocations: 32.86 kB / 429.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.4178, allocations: 136.9 kB / 429.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.4178, allocations: 117.7 kB / 429.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.4179, allocations: 6.688 kB / 429.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.4179, allocations: 333.5 kB / 430.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.131e-05/0.418, allocations: 65.31 kB / 430.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4181, allocations: 96.78 kB / 430.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.4182, allocations: 73.81 kB / 430.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4182, allocations: 0 / 430.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003557/0.4186, allocations: 290.1 kB / 430.7 MB, free: 7.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4186, allocations: 7.688 kB / 430.7 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4186, allocations: 0 / 430.7 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.4188, allocations: 42.59 kB / 430.8 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.419, allocations: 57.12 kB / 430.8 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.42, allocations: 1.567 MB / 432.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.4202, allocations: 11.16 kB / 432.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.4202, allocations: 15.91 kB / 432.4 MB, free: 5.965 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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 6.771e-05/0.4203, allocations: 119.5 kB / 432.6 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.4203, allocations: 23.28 kB / 432.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.4204, allocations: 32.23 kB / 432.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4204, allocations: 3.875 kB / 432.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4204, allocations: 0 / 432.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4204, allocations: 0 / 432.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/0.4212, allocations: 0.7763 MB / 433.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4212, allocations: 96 / 433.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.4215, allocations: 64.94 kB / 433.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.4216, allocations: 35.59 kB / 433.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.4216, allocations: 7.281 kB / 433.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007236/0.4223, allocations: 1.378 MB / 434.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.4224, allocations: 3.938 kB / 434.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.4229, allocations: 0.4922 MB / 435.4 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.4229, allocations: 96.52 kB / 435.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4229, allocations: 7.906 kB / 435.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4231, allocations: 11.56 kB / 435.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.4231, allocations: 22.84 kB / 435.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4232, allocations: 11.44 kB / 435.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.105e-05/0.4232, allocations: 127.5 kB / 435.6 MB, free: 3.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4232, allocations: 3.969 kB / 435.6 MB, free: 3.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003211/0.4236, allocations: 64.97 kB / 435.7 MB, free: 3.527 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001015/0.4237, allocations: 106.5 kB / 435.8 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.4241, allocations: 322.6 kB / 436.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4241, allocations: 0 / 436.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.4244, allocations: 234.2 kB / 436.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4247, allocations: 38.92 kB / 436.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.4255, allocations: 0.6003 MB / 437 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.4256, allocations: 0.7583 MB / 437.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.608e-05/0.4257, allocations: 21.59 kB / 437.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.4258, allocations: 22.81 kB / 437.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4258, allocations: 0 / 437.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of Templates: time 0.004712/0.4305, allocations: 2.421 MB / 440.2 MB, free: 0.8164 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)