Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.008432/0.008432, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.002145/0.002145, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.499/1.499, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001311/0.001311, allocations: 54.64 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1182, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004039/0.1223, allocations: 2.341 MB / 375.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1236, allocations: 0.62 MB / 376.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.1239, allocations: 7.938 kB / 376.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1241, allocations: 39.66 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1244, allocations: 79.27 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1247, allocations: 59.91 kB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.1252, allocations: 266.7 kB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.1254, allocations: 118.6 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1257, allocations: 107.6 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1259, allocations: 107.5 kB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.1259, allocations: 20 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-05/0.126, allocations: 27.94 kB / 376.9 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.126, allocations: 47.78 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1262, allocations: 119.4 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.1266, allocations: 266.9 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1266, allocations: 3.984 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1266, allocations: 0 / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1266, allocations: 4 kB / 377.4 MB, free: 13.08 MB / 318.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.000801/0.1274, allocations: 0.5299 MB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1274, allocations: 11.89 kB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.1275, allocations: 28.75 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.128, allocations: 240.7 kB / 378.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.128, allocations: 16.81 kB / 378.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.1281, allocations: 32.33 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.1285, allocations: 195.6 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.1285, allocations: 3.938 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1286, allocations: 12 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1286, allocations: 4 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.1289, allocations: 141.7 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.13, allocations: 0.6193 MB / 379.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.1303, allocations: 182.5 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1305, allocations: 96.83 kB / 379.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1305, allocations: 7.984 kB / 379.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1306, allocations: 38.56 kB / 379.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.1306, allocations: 0 / 379.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002238/0.1328, allocations: 1.069 MB / 380.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.1329, allocations: 63.34 kB / 380.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1331, allocations: 179.1 kB / 380.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1332, allocations: 33.7 kB / 380.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1333, allocations: 136.9 kB / 381 MB, free: 9.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.1334, allocations: 119 kB / 381.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1335, allocations: 57.64 kB / 381.2 MB, free: 9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1337, allocations: 330.8 kB / 381.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1339, allocations: 75.97 kB / 381.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.1341, allocations: 102.8 kB / 381.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.1345, allocations: 187.5 kB / 381.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1345, allocations: 4 kB / 381.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005756/0.1351, allocations: 295.2 kB / 382.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.1351, allocations: 17.02 kB / 382.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1351, allocations: 0 / 382.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.1354, allocations: 44.84 kB / 382.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1357, allocations: 55.91 kB / 382.2 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.1375, allocations: 1.74 MB / 384 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1376, allocations: 12.09 kB / 384 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.1377, allocations: 8 kB / 384 MB, free: 5.98 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.1378, allocations: 141.7 kB / 384.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.1379, allocations: 27.8 kB / 384.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.1379, allocations: 30.64 kB / 384.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1379, allocations: 4 kB / 384.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.138, allocations: 0 / 384.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.138, allocations: 0 / 384.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.1391, allocations: 0.7815 MB / 385 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1391, allocations: 0 / 385 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.1394, allocations: 59.89 kB / 385 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.1395, allocations: 40.94 kB / 385.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1396, allocations: 4 kB / 385.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.141, allocations: 1.496 MB / 386.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.141, allocations: 0 / 386.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007492/0.1417, allocations: 486.5 kB / 387.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.1418, allocations: 96.97 kB / 387.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1419, allocations: 8 kB / 387.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.142, allocations: 12.03 kB / 387.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1421, allocations: 15.98 kB / 387.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1421, allocations: 15.98 kB / 387.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1422, allocations: 131.2 kB / 387.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1422, allocations: 0 / 387.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.1426, allocations: 71.94 kB / 387.4 MB, free: 2.297 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001311/0.1427, allocations: 99.19 kB / 387.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006381/0.1434, allocations: 343 kB / 387.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.1434, allocations: 4.125 kB / 387.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.1438, allocations: 242.5 kB / 388.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.1442, allocations: 55.83 kB / 388.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.1456, allocations: 0.7249 MB / 388.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1459, allocations: 0.76 MB / 389.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.969e-05/0.1461, allocations: 26.27 kB / 389.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.1461, allocations: 23.44 kB / 389.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1461, allocations: 0 / 389.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of Templates: time 0.006234/0.1524, allocations: 2.724 MB / 392.4 MB, free: 13.21 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)