Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.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) 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 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(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01031/0.01031, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.747/1.747, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.361/0.361, allocations: 40.01 MB / 310.7 MB, free: 9.883 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005775/0.0005775, allocations: 16 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1325, allocations: 57.96 MB / 437.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01068/0.1432, allocations: 8.969 MB / 446.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007544/0.1508, allocations: 3.106 MB / 449.5 MB, free: 6.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.1529, allocations: 39.88 kB / 449.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.1542, allocations: 261.9 kB / 449.8 MB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.1579, allocations: 0.6749 MB / 450.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.1607, allocations: 0.8545 MB / 451.3 MB, free: 4.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.1657, allocations: 3.185 MB / 454.5 MB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.1676, allocations: 0.7495 MB / 455.2 MB, free: 268 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2519/0.4195, allocations: 1.163 MB / 456.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003713/0.4233, allocations: 1.382 MB / 457.8 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.4249, allocations: 136.1 kB / 457.9 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.4269, allocations: 247 kB / 458.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.4281, allocations: 0.5248 MB / 458.7 MB, free: 35.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003461/0.4316, allocations: 1.211 MB / 459.9 MB, free: 34.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.4367, allocations: 3.032 MB / 462.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4367, allocations: 0 / 462.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.4367, allocations: 0 / 462.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001789/0.4369, allocations: 6.156 kB / 462.9 MB, free: 34.28 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.008232/0.4452, allocations: 2.608 MB / 465.5 MB, free: 33.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.4452, allocations: 10.19 kB / 465.5 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.4466, allocations: 299.5 kB / 465.8 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.4487, allocations: 1.113 MB / 467 MB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009871/0.4497, allocations: 0.5049 MB / 467.5 MB, free: 32.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005409/0.4502, allocations: 243.8 kB / 467.7 MB, free: 32.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005351/0.4556, allocations: 2.655 MB / 470.4 MB, free: 32.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.715e-05/0.4557, allocations: 28.09 kB / 470.4 MB, free: 32.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.4559, allocations: 84.72 kB / 470.5 MB, free: 32.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.456, allocations: 52.69 kB / 470.5 MB, free: 32.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006036/0.462, allocations: 2.774 MB / 473.3 MB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.4771, allocations: 7.01 MB / 480.3 MB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005421/0.4826, allocations: 2.575 MB / 482.9 MB, free: 28.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003381/0.486, allocations: 1.474 MB / 484.3 MB, free: 27.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.4864, allocations: 126.8 kB / 484.5 MB, free: 27.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.302e-05/0.4865, allocations: 72.98 kB / 484.5 MB, free: 27.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=275): time 7.895e-06/0.4865, allocations: 0 / 484.5 MB, free: 27.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=333): time 0.03855/0.5251, allocations: 14.64 MB / 499.2 MB, free: 20.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.5253, allocations: 321.4 kB / 499.5 MB, free: 19.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.5281, allocations: 1.148 MB / 0.4889 GB, free: 19.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008129/0.5289, allocations: 99.27 kB / 0.489 GB, free: 19.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006959/0.5296, allocations: 0.6946 MB / 0.4897 GB, free: 18.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001482/0.5311, allocations: 1.121 MB / 0.4908 GB, free: 17.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008914/0.532, allocations: 252.6 kB / 0.491 GB, free: 17.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.5321, allocations: 305.1 kB / 0.4913 GB, free: 17.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/0.5355, allocations: 1.157 MB / 0.4924 GB, free: 16.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003685/0.5392, allocations: 1.576 MB / 0.494 GB, free: 16.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006398/0.5456, allocations: 2.563 MB / 0.4965 GB, free: 14.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.856e-05/0.5457, allocations: 2.031 kB / 0.4965 GB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.009756/0.5554, allocations: 3.632 MB / 0.5 GB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.5555, allocations: 12.59 kB / 0.5 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.5555, allocations: 8.391 kB / 0.5001 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/0.5586, allocations: 1.213 MB / 0.5012 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/0.562, allocations: 0.7542 MB / 0.502 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008485/0.5705, allocations: 7.562 MB / 0.5094 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/0.574, allocations: 298.4 kB / 0.5096 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007531/0.5747, allocations: 116.5 kB / 0.5098 GB, free: 7.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.ideal,gear2_1.lossyGear.mode,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.locked,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.startForward,gear2_1.lossyGear.tau_aPos,bearingFriction.free,lossyGear.ideal,lossyGear.mode,$PRE.lossyGear.mode,lossyGear.locked,lossyGear.startBackward,lossyGear.startForward,lossyGear.tau_aPos,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,22), (2,25), (1,6), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002264/0.577, allocations: 472.8 kB / 0.5102 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009816/0.578, allocations: 214.7 kB / 0.5104 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.5795, allocations: 0.6174 MB / 0.511 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/0.5796, allocations: 40 kB / 0.5111 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.795e-05/0.5797, allocations: 3.938 kB / 0.5111 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.839e-05/0.5797, allocations: 19.28 kB / 0.5111 GB, free: 6.277 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.5977, allocations: 7.985 MB / 0.5189 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/0.5977, allocations: 12.03 kB / 0.5189 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/0.6008, allocations: 0.7056 MB / 0.5196 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002707/0.6035, allocations: 1.201 MB / 0.5207 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004022/0.6039, allocations: 99.92 kB / 0.5208 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.6153, allocations: 10.19 MB / 0.5308 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.6154, allocations: 11.56 kB / 0.5308 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.629, allocations: 6.144 MB / 0.5368 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/0.6309, allocations: 0.5372 MB / 0.5373 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007593/0.6317, allocations: 83.98 kB / 0.5374 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/0.6345, allocations: 303.7 kB / 0.5377 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/0.6356, allocations: 400.7 kB / 0.5381 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002949/0.6359, allocations: 119.9 kB / 0.5382 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001581/0.6375, allocations: 0.7773 MB / 0.539 GB, free: 9.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6375, allocations: 0 / 0.539 GB, free: 9.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004271/0.6418, allocations: 0.7344 MB / 0.5397 GB, free: 8.434 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 31 (inertia17.phi,inertia17.w,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,inertia14.phi,inertia14.w,constantSpeed.phi,gear2_1.phi_rel,gear2_1.w_rel,relativeStates.phi_rel,relativeStates.w_rel,inertia2.phi,inertia2.w,damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,clutch.phi_rel,clutch.w_rel,inertia6.phi,inertia6.w,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.w) * Number of discrete variables: 24 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,lossyGear.mode,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startBackward,clutch.startForward,gear2_1.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,21), (1,5), (1,6), (2,23), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007493/0.6426, allocations: 261 kB / 0.5399 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009306/0.6519, allocations: 3.536 MB / 0.5434 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.6519, allocations: 4.094 kB / 0.5434 GB, free: 4.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007806/0.6598, allocations: 2.926 MB / 0.5462 GB, free: 1.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005818/0.6656, allocations: 364.3 kB / 0.5466 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.6823, allocations: 7.822 MB / 0.5542 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/0.6845, allocations: 1.544 MB / 0.5557 GB, free: 7.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002214/0.6867, allocations: 309.2 kB / 0.556 GB, free: 7.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.6878, allocations: 179.3 kB / 0.5562 GB, free: 7.434 MB / 430.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6879, allocations: 4 kB / 0.5562 GB, free: 7.43 MB / 430.1 MB Notification: Performance of Templates: time 0.07542/0.7633, allocations: 38.39 MB / 0.5937 GB, free: 1.176 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe 2>&1) Environment - environmentSimulation: