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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 93.06 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 183.7 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002157/0.2256, allocations: 1.873 MB / 329.6 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.2266, allocations: 0.6057 MB / 330.2 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2267, allocations: 7.688 kB / 330.2 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.809e-05/0.2268, allocations: 23.28 kB / 330.2 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.227, allocations: 78.44 kB / 330.3 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.2272, allocations: 46.7 kB / 330.3 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.2274, allocations: 187.2 kB / 330.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.2276, allocations: 80.42 kB / 330.6 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.2278, allocations: 83.14 kB / 330.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.228, allocations: 92.59 kB / 330.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.228, allocations: 11.88 kB / 330.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.692e-05/0.228, allocations: 14.94 kB / 330.8 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.2281, allocations: 37.98 kB / 330.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.2282, allocations: 68.67 kB / 330.9 MB, free: 15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.2284, allocations: 190.5 kB / 331.1 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2284, allocations: 0 / 331.1 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2284, allocations: 0 / 331.1 MB, free: 14.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2284, allocations: 4 kB / 331.1 MB, free: 14.86 MB / 270.1 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.0007102/0.2291, allocations: 494.8 kB / 331.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2292, allocations: 12.34 kB / 331.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.2292, allocations: 28.69 kB / 331.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.2296, allocations: 245.3 kB / 331.8 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2296, allocations: 13.59 kB / 331.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.2296, allocations: 26.28 kB / 331.9 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.23, allocations: 197.8 kB / 332.1 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2301, allocations: 1.125 kB / 332.1 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.2301, allocations: 13.92 kB / 332.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2301, allocations: 5.375 kB / 332.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.2304, allocations: 138.9 kB / 332.2 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2314, allocations: 0.642 MB / 332.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.2318, allocations: 179.1 kB / 333.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2318, allocations: 2.062 kB / 333.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2318, allocations: 36.78 kB / 333.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.2319, allocations: 0 / 333.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001899/0.2338, allocations: 1.079 MB / 334.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2338, allocations: 58.64 kB / 334.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.234, allocations: 183.3 kB / 334.4 MB, free: 12.21 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.234, allocations: 35.78 kB / 334.4 MB, free: 12.17 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.2341, allocations: 138.4 kB / 334.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.2342, allocations: 107.1 kB / 334.7 MB, free: 11.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.2342, allocations: 5 kB / 334.7 MB, free: 11.95 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2344, allocations: 336.3 kB / 335 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2346, allocations: 70.88 kB / 335.1 MB, free: 11.58 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.2348, allocations: 109.4 kB / 335.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2349, allocations: 81.94 kB / 335.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.235, allocations: 7.938 kB / 335.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005161/0.2355, allocations: 300.8 kB / 335.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2355, allocations: 4.438 kB / 335.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.2355, allocations: 1.219 kB / 335.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.2357, allocations: 44.98 kB / 335.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.236, allocations: 63.97 kB / 335.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.2373, allocations: 1.577 MB / 337.3 MB, free: 9.488 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.2374, allocations: 12.03 kB / 337.3 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.2374, allocations: 11.98 kB / 337.3 MB, free: 9.465 MB / 270.1 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 () * Number of clocked 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 0.000126/0.2376, allocations: 145.7 kB / 337.4 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.2376, allocations: 23.72 kB / 337.4 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.2377, allocations: 30.66 kB / 337.5 MB, free: 9.262 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2377, allocations: 4.062 kB / 337.5 MB, free: 9.258 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2377, allocations: 4 kB / 337.5 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2377, allocations: 3.984 kB / 337.5 MB, free: 9.25 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2387, allocations: 0.7857 MB / 338.3 MB, free: 8.391 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2387, allocations: 4 kB / 338.3 MB, free: 8.387 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.239, allocations: 59.91 kB / 338.3 MB, free: 8.328 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.2391, allocations: 32.83 kB / 338.4 MB, free: 8.293 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2392, allocations: 12.09 kB / 338.4 MB, free: 8.281 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009869/0.2401, allocations: 1.382 MB / 339.8 MB, free: 6.762 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2402, allocations: 8.094 kB / 339.8 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.2408, allocations: 0.5112 MB / 340.3 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.2409, allocations: 92.92 kB / 340.4 MB, free: 6.086 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.2409, allocations: 8.031 kB / 340.4 MB, free: 6.078 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2411, allocations: 12 kB / 340.4 MB, free: 6.066 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.2411, allocations: 23.91 kB / 340.4 MB, free: 6.043 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2411, allocations: 12 kB / 340.4 MB, free: 6.031 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.287e-05/0.2412, allocations: 135.5 kB / 340.6 MB, free: 5.898 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2412, allocations: 0 / 340.6 MB, free: 5.898 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.2416, allocations: 64 kB / 340.6 MB, free: 5.836 MB / 270.1 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 () * Number of clocked 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.0001142/0.2417, allocations: 107.2 kB / 340.7 MB, free: 5.723 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005579/0.2423, allocations: 342.5 kB / 341.1 MB, free: 5.375 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2423, allocations: 0 / 341.1 MB, free: 5.375 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.2426, allocations: 254.7 kB / 341.3 MB, free: 5.113 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.243, allocations: 36.44 kB / 341.3 MB, free: 5.078 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2442, allocations: 0.8831 MB / 342.2 MB, free: 4.156 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2445, allocations: 0.7639 MB / 343 MB, free: 3.367 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.676e-05/0.2446, allocations: 18.3 kB / 343 MB, free: 3.352 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.2447, allocations: 19.44 kB / 343 MB, free: 3.332 MB / 270.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2447, allocations: 0 / 343 MB, free: 3.332 MB / 270.1 MB Notification: Performance of Templates: time 0.005073/0.2497, allocations: 2.41 MB / 345.4 MB, free: 0.918 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: