Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008076/0.0008072, allocations: 179.3 kB / 15.43 MB, free: 5.773 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.03742/0.03742, allocations: 8.921 MB / 25.1 MB, free: 3.531 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.341/1.341, allocations: 225.7 MB / 253.7 MB, free: 5.199 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.0007969/0.000797, allocations: 102.7 kB / 307 MB, free: 2.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002848, allocations: 8 kB / 370.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2468, allocations: 52.55 MB / 422.8 MB, free: 47.88 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01903/0.2658, allocations: 22.37 MB / 445.2 MB, free: 31.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.2825, allocations: 9.89 MB / 455.1 MB, free: 23.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005902/0.2885, allocations: 158.1 kB / 455.3 MB, free: 23.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005092/0.2936, allocations: 1.54 MB / 456.8 MB, free: 21.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008446/0.3021, allocations: 3.619 MB / 460.4 MB, free: 17.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.3059, allocations: 1.897 MB / 462.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007418/0.3133, allocations: 7.386 MB / 469.7 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02017/0.3335, allocations: 17.57 MB / 487.3 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.3384, allocations: 2.744 MB / 490 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/0.3432, allocations: 3.361 MB / 493.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.3443, allocations: 432 kB / 493.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.347, allocations: 0.7808 MB / 494.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.3483, allocations: 1.37 MB / 495.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004038/0.3523, allocations: 3.286 MB / 499.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.3652, allocations: 13.57 MB / 0.5008 GB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3653, allocations: 4 kB / 0.5008 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3653, allocations: 0 / 0.5008 GB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002886/0.3656, allocations: 0 / 0.5008 GB, free: 11.73 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.01936/0.3849, allocations: 7.389 MB / 0.508 GB, free: 4.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.385, allocations: 8.031 kB / 0.508 GB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02281/0.4078, allocations: 4.405 MB / 0.5123 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009301/0.4171, allocations: 4.519 MB / 0.5167 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.4176, allocations: 489.1 kB / 0.5172 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/0.4193, allocations: 0.6288 MB / 0.5178 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.4383, allocations: 10.3 MB / 0.5279 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.4384, allocations: 11.89 kB / 0.5279 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006126/0.439, allocations: 272 kB / 0.5281 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003531/0.4394, allocations: 417.7 kB / 0.5285 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.4566, allocations: 9.806 MB / 0.5381 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2308/0.6874, allocations: 35.76 MB / 0.573 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.702, allocations: 20.64 MB / 0.5932 GB, free: 83.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003709/0.7058, allocations: 2.299 MB / 0.5954 GB, free: 82.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.7061, allocations: 232.5 kB / 0.5957 GB, free: 82.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.7061, allocations: 64.36 kB / 0.5957 GB, free: 82.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.3e-06/0.7061, allocations: 0 / 0.5957 GB, free: 82.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.017/0.7231, allocations: 10.85 MB / 0.6063 GB, free: 77.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.7232, allocations: 80.06 kB / 0.6064 GB, free: 77.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003752/0.727, allocations: 2.998 MB / 0.6093 GB, free: 76.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.7272, allocations: 77.45 kB / 0.6094 GB, free: 75.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.7284, allocations: 2.863 MB / 0.6122 GB, free: 73.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006966/0.7292, allocations: 1.029 MB / 0.6132 GB, free: 72.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.7294, allocations: 95.25 kB / 0.6133 GB, free: 72.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.7295, allocations: 0.492 MB / 0.6138 GB, free: 72.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/0.732, allocations: 2.009 MB / 0.6157 GB, free: 70.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/0.735, allocations: 3.71 MB / 0.6194 GB, free: 67.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005348/0.7404, allocations: 6.021 MB / 0.6252 GB, free: 61.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.7404, allocations: 16 kB / 0.6252 GB, free: 61.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.008264/0.7487, allocations: 6.591 MB / 0.6317 GB, free: 55.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.7488, allocations: 32 kB / 0.6317 GB, free: 55.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.979e-05/0.7488, allocations: 54.66 kB / 0.6318 GB, free: 55.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.7504, allocations: 0.6729 MB / 0.6324 GB, free: 54.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.7536, allocations: 1.065 MB / 0.6335 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.7601, allocations: 5.805 MB / 0.6391 GB, free: 47.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.7634, allocations: 279.4 kB / 0.6394 GB, free: 47.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/0.7638, allocations: 236 kB / 0.6396 GB, free: 47.02 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.003369/0.7672, allocations: 2.316 MB / 0.6419 GB, free: 44.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/0.7677, allocations: 320.1 kB / 0.6422 GB, free: 44.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/0.7739, allocations: 4.61 MB / 0.6467 GB, free: 39.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.7739, allocations: 33.75 kB / 0.6467 GB, free: 39.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.774, allocations: 7.984 kB / 0.6467 GB, free: 39.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.774, allocations: 11.95 kB / 0.6467 GB, free: 39.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.788, allocations: 11.25 MB / 0.6577 GB, free: 28.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.7881, allocations: 4 kB / 0.6577 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.7899, allocations: 0.5304 MB / 0.6582 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.7913, allocations: 0.5619 MB / 0.6588 GB, free: 27.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.7914, allocations: 75.92 kB / 0.6589 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005461/0.7969, allocations: 5.036 MB / 0.6638 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7969, allocations: 11.94 kB / 0.6638 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007717/0.8046, allocations: 6.549 MB / 0.6702 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.806, allocations: 0.7467 MB / 0.6709 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/0.8064, allocations: 60.06 kB / 0.671 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.8078, allocations: 147.8 kB / 0.6711 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/0.8082, allocations: 210 kB / 0.6713 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/0.8083, allocations: 87.98 kB / 0.6714 GB, free: 13.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002828/0.8112, allocations: 1.997 MB / 0.6734 GB, free: 11.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8112, allocations: 0 / 0.6734 GB, free: 11.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00376/0.815, allocations: 1.171 MB / 0.6745 GB, free: 10.72 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.0004002/0.8154, allocations: 237.6 kB / 0.6747 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006607/0.822, allocations: 5.002 MB / 0.6796 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.822, allocations: 0 / 0.6796 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002883/0.8249, allocations: 2.262 MB / 0.6818 GB, free: 3.176 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/0.8291, allocations: 0.6004 MB / 0.6824 GB, free: 2.586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.849, allocations: 13.87 MB / 0.6959 GB, free: 4.617 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003879/0.8529, allocations: 4.157 MB / 0.7 GB, free: 432 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004042/0.857, allocations: 1.322 MB / 0.7013 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000792/0.8578, allocations: 275.3 kB / 0.7016 GB, free: 14.83 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/0.8578, allocations: 0 / 0.7016 GB, free: 14.83 MB / 458.7 MB Notification: Performance of Templates: time 0.2799/1.138, allocations: 45.34 MB / 0.7458 GB, free: 149.8 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1)