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.01042/0.01042, allocations: 97.8 kB / 15.73 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.002239/0.002239, allocations: 187 kB / 16.67 MB, free: 5.926 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3214/0.3214, allocations: 38 MB / 307.9 MB, free: 10.14 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.001689/0.001689, allocations: 67.89 kB / 433 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3475, allocations: 56.47 MB / 489.4 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002919/0.3504, allocations: 1.898 MB / 491.3 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.3513, allocations: 0.5382 MB / 491.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.3514, allocations: 2.781 kB / 491.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.3515, allocations: 19.84 kB / 491.9 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.633e-05/0.3516, allocations: 45.81 kB / 491.9 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.3518, allocations: 35.34 kB / 492 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.352, allocations: 147.9 kB / 492.1 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.3522, allocations: 66.06 kB / 492.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3523, allocations: 62.22 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3525, allocations: 66.56 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.3525, allocations: 12.03 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.902e-05/0.3525, allocations: 11.75 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.3526, allocations: 28.55 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.3527, allocations: 70.53 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.3529, allocations: 149.7 kB / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3529, allocations: 0 / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3529, allocations: 1.828 kB / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3529, allocations: 0 / 492.6 MB, free: 17.86 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.0005713/0.3535, allocations: 433.7 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3536, allocations: 13.14 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.3536, allocations: 19.66 kB / 493 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3539, allocations: 207.2 kB / 493.2 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3539, allocations: 8.812 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.354, allocations: 18.17 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.3543, allocations: 133 kB / 493.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3544, allocations: 5.516 kB / 493.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3544, allocations: 8.906 kB / 493.4 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3544, allocations: 3.344 kB / 493.4 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.3547, allocations: 81.56 kB / 493.5 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.3555, allocations: 466.9 kB / 494 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3558, allocations: 122.3 kB / 494.1 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3559, allocations: 59.52 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.356, allocations: 2.25 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.356, allocations: 32.55 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.356, allocations: 0 / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001659/0.3577, allocations: 0.8165 MB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.3577, allocations: 54.36 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3578, allocations: 136.4 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3579, allocations: 30.89 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.3579, allocations: 110.1 kB / 495.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.358, allocations: 73.25 kB / 495.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.3581, allocations: 36.31 kB / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.3582, allocations: 326.2 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3583, allocations: 41.09 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3585, allocations: 76.83 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.3587, allocations: 135.5 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3587, allocations: 0 / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003966/0.3591, allocations: 208.3 kB / 496.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3592, allocations: 9.656 kB / 496.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3592, allocations: 1.125 kB / 496.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.3594, allocations: 44.25 kB / 496.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3596, allocations: 36.53 kB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3607, allocations: 1.742 MB / 498 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.3608, allocations: 8.422 kB / 498 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3608, allocations: 5.344 kB / 498 MB, free: 13.3 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.386e-05/0.3609, allocations: 133.1 kB / 498.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.3609, allocations: 10.58 kB / 498.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.361, allocations: 21.2 kB / 498.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.361, allocations: 6.656 kB / 498.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.361, allocations: 1.312 kB / 498.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.361, allocations: 5.344 kB / 498.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.3617, allocations: 0.5402 MB / 498.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3617, allocations: 4.641 kB / 498.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.3619, allocations: 41.69 kB / 498.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.362, allocations: 29.83 kB / 498.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.362, allocations: 5.594 kB / 498.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009636/0.363, allocations: 1.488 MB / 0.4886 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.363, allocations: 3.938 kB / 0.4886 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.3635, allocations: 356.6 kB / 0.4889 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.3636, allocations: 85.84 kB / 0.489 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3636, allocations: 6.125 kB / 0.489 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.3637, allocations: 7.5 kB / 0.489 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.3638, allocations: 16.11 kB / 0.489 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3638, allocations: 8.906 kB / 0.489 GB, free: 10.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.3639, allocations: 108 kB / 0.4891 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3639, allocations: 5.438 kB / 0.4892 GB, free: 10.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000327/0.3642, allocations: 37 kB / 0.4892 GB, free: 10.78 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 0.0001193/0.3643, allocations: 105.4 kB / 0.4893 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.3648, allocations: 260.1 kB / 0.4895 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3649, allocations: 0 / 0.4895 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.3651, allocations: 197.2 kB / 0.4897 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3655, allocations: 20.5 kB / 0.4897 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.3662, allocations: 441.3 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.3664, allocations: 0.7172 MB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.3665, allocations: 11.06 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.3665, allocations: 14.41 kB / 0.4909 GB, free: 9.355 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3665, allocations: 1.281 kB / 0.4909 GB, free: 9.355 MB / 382.1 MB Notification: Performance of Templates: time 0.004876/0.3714, allocations: 1.646 MB / 0.4925 GB, free: 9.184 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)