Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006207/0.006207, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001635/0.001635, allocations: 193.2 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.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3647/0.3647, allocations: 38 MB / 307.9 MB, free: 10.42 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.1. 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.00151/0.00151, allocations: 67.91 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3606, allocations: 56.48 MB / 489.4 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003387/0.364, allocations: 1.9 MB / 491.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.365, allocations: 0.5357 MB / 491.9 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3652, allocations: 2.156 kB / 491.9 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.3653, allocations: 19.55 kB / 491.9 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.293e-05/0.3654, allocations: 42.97 kB / 491.9 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.3656, allocations: 35.91 kB / 492 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3658, allocations: 148.7 kB / 492.1 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.3661, allocations: 69.92 kB / 492.2 MB, free: 18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.3662, allocations: 63.77 kB / 492.3 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3663, allocations: 62.12 kB / 492.3 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.3664, allocations: 15.78 kB / 492.3 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.42e-05/0.3664, allocations: 12.22 kB / 492.3 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.3665, allocations: 32.59 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.3666, allocations: 69.41 kB / 492.4 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.3669, allocations: 147.2 kB / 492.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3669, allocations: 0 / 492.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3669, allocations: 0 / 492.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3669, allocations: 1.219 kB / 492.6 MB, free: 17.82 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006174/0.3675, allocations: 426.1 kB / 493 MB, free: 17.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3676, allocations: 13.14 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.3677, allocations: 16.56 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.3679, allocations: 213.4 kB / 493.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3679, allocations: 9.594 kB / 493.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.368, allocations: 13.83 kB / 493.3 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.3683, allocations: 129.9 kB / 493.4 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3683, allocations: 0.7031 kB / 493.4 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3683, allocations: 10 kB / 493.4 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3683, allocations: 3.562 kB / 493.4 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.3685, allocations: 79.8 kB / 493.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.3693, allocations: 464.4 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3696, allocations: 128.7 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3697, allocations: 56.56 kB / 494.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3698, allocations: 1.031 kB / 494.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3698, allocations: 46.11 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3698, allocations: 0 / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001656/0.3715, allocations: 0.8037 MB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3715, allocations: 54.28 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3717, allocations: 143.8 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3717, allocations: 27.58 kB / 495.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.3718, allocations: 118 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.3719, allocations: 60.44 kB / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.3719, allocations: 36.12 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.372, allocations: 321.6 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3722, allocations: 50.34 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3723, allocations: 76 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.3726, allocations: 131.3 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3726, allocations: 0 / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004107/0.373, allocations: 216.5 kB / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.373, allocations: 8.5 kB / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.373, allocations: 1.703 kB / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/0.3733, allocations: 41.44 kB / 496.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.3735, allocations: 40.5 kB / 496.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.3751, allocations: 1.742 MB / 498 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.3752, allocations: 3.375 kB / 498 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3752, allocations: 9.281 kB / 498 MB, free: 13.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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 8.236e-05/0.3753, allocations: 121.5 kB / 498.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3753, allocations: 11.41 kB / 498.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.3754, allocations: 20.56 kB / 498.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3754, allocations: 6.219 kB / 498.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3754, allocations: 1.031 kB / 498.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3754, allocations: 5.375 kB / 498.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.3761, allocations: 0.5449 MB / 498.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3761, allocations: 1.688 kB / 498.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3763, allocations: 37.3 kB / 498.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.3764, allocations: 36.81 kB / 498.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3764, allocations: 2.797 kB / 498.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009151/0.3774, allocations: 1.487 MB / 0.4886 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3774, allocations: 0.6562 kB / 0.4886 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.3779, allocations: 347.8 kB / 0.4889 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.3779, allocations: 89.44 kB / 0.489 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3779, allocations: 14.08 kB / 0.489 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.378, allocations: 4.156 kB / 0.489 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.3781, allocations: 20.38 kB / 0.489 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3781, allocations: 7.281 kB / 0.489 GB, free: 10.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.3782, allocations: 105.4 kB / 0.4891 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3782, allocations: 0 / 0.4891 GB, free: 10.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000321/0.3785, allocations: 43.03 kB / 0.4892 GB, free: 10.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * 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 9.794e-05/0.3786, allocations: 107.8 kB / 0.4893 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005465/0.3792, allocations: 268.1 kB / 0.4895 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3792, allocations: 0 / 0.4895 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.3794, allocations: 188.4 kB / 0.4897 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3798, allocations: 26.98 kB / 0.4897 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008441/0.3807, allocations: 443.2 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3809, allocations: 0.7228 MB / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.381, allocations: 10.36 kB / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.381, allocations: 14.88 kB / 0.4909 GB, free: 9.324 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.381, allocations: 0 / 0.4909 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Templates: time 0.005557/0.3866, allocations: 1.671 MB / 0.4925 GB, free: 9.156 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1)