Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008419/0.000842, allocations: 177.5 kB / 15.43 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.03696/0.03696, allocations: 8.922 MB / 25.1 MB, free: 3.574 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.7 MB / 253.7 MB, free: 5.207 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007637/0.0007637, allocations: 99.94 kB / 307 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 8 kB / 370.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2545, allocations: 52.55 MB / 422.8 MB, free: 47.88 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.01906/0.2736, allocations: 22.38 MB / 445.2 MB, free: 31.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.2891, allocations: 9.886 MB / 455.1 MB, free: 23.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005359/0.2945, allocations: 156.2 kB / 455.3 MB, free: 23.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005077/0.2996, allocations: 1.544 MB / 456.8 MB, free: 21.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009173/0.3088, allocations: 3.603 MB / 460.4 MB, free: 17.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.3129, allocations: 1.915 MB / 462.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00887/0.3217, allocations: 7.378 MB / 469.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0221/0.3439, allocations: 17.58 MB / 487.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004596/0.3485, allocations: 2.736 MB / 490 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0056/0.3542, allocations: 3.377 MB / 493.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001546/0.3557, allocations: 428 kB / 493.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.3588, allocations: 0.773 MB / 494.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.3604, allocations: 1.37 MB / 495.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004558/0.365, allocations: 3.29 MB / 499.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.3791, allocations: 13.57 MB / 0.5008 GB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3791, allocations: 0 / 0.5008 GB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3792, allocations: 0 / 0.5008 GB, free: 11.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004309/0.3796, allocations: 0 / 0.5008 GB, free: 11.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02174/0.4013, allocations: 7.389 MB / 0.508 GB, free: 4.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4014, allocations: 12.03 kB / 0.508 GB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02426/0.4257, allocations: 4.405 MB / 0.5123 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.4363, allocations: 4.519 MB / 0.5167 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006234/0.437, allocations: 493.1 kB / 0.5172 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/0.4398, allocations: 0.6327 MB / 0.5178 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.4644, allocations: 10.29 MB / 0.5279 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001899/0.4646, allocations: 15.89 kB / 0.5279 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/0.4658, allocations: 275.9 kB / 0.5281 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000431/0.4663, allocations: 409.7 kB / 0.5285 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02088/0.4871, allocations: 9.81 MB / 0.5381 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2368/0.724, allocations: 35.76 MB / 0.573 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/0.7382, allocations: 20.64 MB / 0.5932 GB, free: 83.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/0.7423, allocations: 2.305 MB / 0.5954 GB, free: 82.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.7426, allocations: 229.7 kB / 0.5957 GB, free: 82.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.7426, allocations: 63.94 kB / 0.5957 GB, free: 82.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.48e-06/0.7426, allocations: 0 / 0.5957 GB, free: 82.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01657/0.7592, allocations: 10.85 MB / 0.6063 GB, free: 77.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.7593, allocations: 83.16 kB / 0.6064 GB, free: 77.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/0.7631, allocations: 3.001 MB / 0.6093 GB, free: 76.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.7634, allocations: 73.08 kB / 0.6094 GB, free: 76.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.7647, allocations: 2.865 MB / 0.6122 GB, free: 73.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006734/0.7654, allocations: 1.033 MB / 0.6132 GB, free: 72.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.7656, allocations: 91.25 kB / 0.6133 GB, free: 72.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.7658, allocations: 0.4896 MB / 0.6138 GB, free: 72.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.7682, allocations: 2.005 MB / 0.6157 GB, free: 71.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002896/0.7711, allocations: 3.706 MB / 0.6193 GB, free: 67.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005526/0.7767, allocations: 6.018 MB / 0.6252 GB, free: 62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/0.7767, allocations: 16 kB / 0.6252 GB, free: 61.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.008744/0.7855, allocations: 6.593 MB / 0.6317 GB, free: 55.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.7855, allocations: 28 kB / 0.6317 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.447e-05/0.7856, allocations: 60.22 kB / 0.6318 GB, free: 55.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.7872, allocations: 0.6726 MB / 0.6324 GB, free: 54.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003188/0.7904, allocations: 1.061 MB / 0.6335 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.7973, allocations: 5.815 MB / 0.6391 GB, free: 47.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/0.8007, allocations: 279.4 kB / 0.6394 GB, free: 47.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/0.8011, allocations: 231.9 kB / 0.6396 GB, free: 47.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * 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 {(8,28,67.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003347/0.8045, allocations: 2.32 MB / 0.6419 GB, free: 44.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/0.805, allocations: 320 kB / 0.6422 GB, free: 44.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006249/0.8113, allocations: 4.614 MB / 0.6467 GB, free: 39.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.8113, allocations: 33.75 kB / 0.6467 GB, free: 39.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.8113, allocations: 4 kB / 0.6467 GB, free: 39.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.8114, allocations: 15.94 kB / 0.6467 GB, free: 39.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.8274, allocations: 11.24 MB / 0.6577 GB, free: 28.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.8274, allocations: 8 kB / 0.6577 GB, free: 28.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/0.8294, allocations: 0.5265 MB / 0.6582 GB, free: 27.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.831, allocations: 0.5663 MB / 0.6588 GB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.8312, allocations: 71.92 kB / 0.6589 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/0.8367, allocations: 5.036 MB / 0.6638 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8368, allocations: 7.938 kB / 0.6638 GB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007911/0.8447, allocations: 6.553 MB / 0.6702 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.8465, allocations: 0.7507 MB / 0.6709 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/0.8469, allocations: 63.84 kB / 0.671 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.8483, allocations: 143.8 kB / 0.6711 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/0.8487, allocations: 210 kB / 0.6713 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.8489, allocations: 87.98 kB / 0.6714 GB, free: 13.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002634/0.8515, allocations: 1.997 MB / 0.6734 GB, free: 11.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8515, allocations: 0 / 0.6734 GB, free: 11.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003626/0.8552, allocations: 1.175 MB / 0.6745 GB, free: 10.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_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 (291): * Single equations (assignments): 290 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004323/0.8556, allocations: 233.4 kB / 0.6747 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007005/0.8626, allocations: 5.001 MB / 0.6796 GB, free: 5.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.8627, allocations: 0 / 0.6796 GB, free: 5.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.8658, allocations: 2.251 MB / 0.6818 GB, free: 3.246 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/0.8705, allocations: 0.616 MB / 0.6824 GB, free: 2.641 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.8897, allocations: 13.86 MB / 0.6959 GB, free: 4.672 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/0.8937, allocations: 4.146 MB / 0.7 GB, free: 500 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004197/0.898, allocations: 1.326 MB / 0.7013 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009349/0.8989, allocations: 275.4 kB / 0.7016 GB, free: 14.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/0.8989, allocations: 0 / 0.7016 GB, free: 14.89 MB / 458.7 MB Notification: Performance of Templates: time 0.2918/1.191, allocations: 45.34 MB / 0.7458 GB, free: 149.9 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1)