Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 178.6 kB / 15.43 MB, free: 5.77 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.04077/0.04077, allocations: 8.919 MB / 25.1 MB, free: 3.547 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.291/1.291, allocations: 225.7 MB / 253.7 MB, free: 5.203 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.0007602/0.0007602, allocations: 103.7 kB / 307 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2519, allocations: 52.55 MB / 422.8 MB, free: 47.95 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.02776/0.2797, allocations: 22.39 MB / 445.2 MB, free: 31.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02022/0.3, allocations: 9.83 MB / 455.1 MB, free: 23.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005978/0.306, allocations: 158.1 kB / 455.2 MB, free: 23.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00665/0.3127, allocations: 1.812 MB / 457 MB, free: 21.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.3238, allocations: 3.737 MB / 460.8 MB, free: 17.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00562/0.3295, allocations: 2.431 MB / 463.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.3425, allocations: 9.386 MB / 472.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04265/0.3852, allocations: 23.07 MB / 495.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008113/0.3934, allocations: 3.487 MB / 499.1 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008976/0.4024, allocations: 4.167 MB / 0.4915 GB, free: 4.996 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00268/0.4051, allocations: 0.5156 MB / 0.492 GB, free: 4.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004829/0.41, allocations: 0.8746 MB / 0.4929 GB, free: 3.602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003811/0.4138, allocations: 1.685 MB / 0.4945 GB, free: 1.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008846/0.4227, allocations: 4.033 MB / 0.4984 GB, free: 13.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02489/0.4476, allocations: 17.05 MB / 0.5151 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4476, allocations: 3.938 kB / 0.5151 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4477, allocations: 4 kB / 0.5151 GB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004046/0.4481, allocations: 3.938 kB / 0.5151 GB, free: 12.73 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03112/0.4792, allocations: 9.049 MB / 0.5239 GB, free: 3.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4793, allocations: 8.031 kB / 0.524 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03049/0.5098, allocations: 5.656 MB / 0.5295 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/0.5265, allocations: 5.676 MB / 0.535 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009578/0.5275, allocations: 0.582 MB / 0.5356 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003906/0.5314, allocations: 0.7655 MB / 0.5363 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04412/0.5756, allocations: 12.7 MB / 0.5487 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004456/0.5761, allocations: 11.91 kB / 0.5488 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002962/0.5791, allocations: 328 kB / 0.5491 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009014/0.58, allocations: 0.489 MB / 0.5495 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3566/0.9366, allocations: 12.19 MB / 0.5614 GB, free: 112 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06302/0.9997, allocations: 43.85 MB / 0.6043 GB, free: 82.71 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/1.017, allocations: 25.16 MB / 0.6288 GB, free: 56.91 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004117/1.021, allocations: 2.964 MB / 0.6317 GB, free: 53.95 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/1.021, allocations: 240.9 kB / 0.632 GB, free: 53.68 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0032/1.024, allocations: 2.574 MB / 0.6345 GB, free: 51.04 MB / 426.8 MB Notification: Performance of pre-optimization done (n=391): time 5.541e-06/1.024, allocations: 4 kB / 0.6345 GB, free: 51.04 MB / 426.8 MB Notification: Performance of matching and sorting (n=397): time 0.03139/1.056, allocations: 18.1 MB / 0.6522 GB, free: 32.79 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/1.056, allocations: 359.4 kB / 0.6525 GB, free: 32.36 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004264/1.06, allocations: 3.499 MB / 0.6559 GB, free: 28.86 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004979/1.061, allocations: 89.7 kB / 0.656 GB, free: 28.77 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.062, allocations: 3.376 MB / 0.6593 GB, free: 25.37 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.063, allocations: 1.346 MB / 0.6606 GB, free: 24.04 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/1.063, allocations: 112 kB / 0.6607 GB, free: 23.93 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002074/1.063, allocations: 0.5258 MB / 0.6612 GB, free: 23.39 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.067, allocations: 2.533 MB / 0.6637 GB, free: 20.86 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/1.071, allocations: 4.501 MB / 0.6681 GB, free: 15.47 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007672/1.078, allocations: 7.424 MB / 0.6753 GB, free: 7.176 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.471e-05/1.078, allocations: 20 kB / 0.6754 GB, free: 7.156 MB / 426.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01326/1.092, allocations: 8.241 MB / 0.6834 GB, free: 14.89 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.412e-05/1.092, allocations: 53.7 kB / 0.6835 GB, free: 14.83 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.092, allocations: 60 kB / 0.6835 GB, free: 14.77 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/1.095, allocations: 0.9983 MB / 0.6845 GB, free: 13.77 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/1.099, allocations: 1.267 MB / 0.6857 GB, free: 12.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.112, allocations: 8.204 MB / 0.6937 GB, free: 4.164 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/1.116, allocations: 367.3 kB / 0.6941 GB, free: 3.805 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009092/1.117, allocations: 267.9 kB / 0.6944 GB, free: 3.543 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,53.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005478/1.123, allocations: 2.91 MB / 0.6972 GB, free: 0.6172 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008432/1.124, allocations: 387.2 kB / 0.6976 GB, free: 240 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.134, allocations: 6.164 MB / 0.7036 GB, free: 10.02 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-05/1.134, allocations: 44 kB / 0.7036 GB, free: 9.973 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/1.134, allocations: 12 kB / 0.7036 GB, free: 9.961 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-05/1.134, allocations: 19.92 kB / 0.7037 GB, free: 9.941 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.161, allocations: 14.91 MB / 0.7182 GB, free: 10.87 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.161, allocations: 4 kB / 0.7182 GB, free: 10.87 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/1.164, allocations: 0.6832 MB / 0.7189 GB, free: 10.18 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/1.167, allocations: 0.8731 MB / 0.7197 GB, free: 9.305 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/1.167, allocations: 83.98 kB / 0.7198 GB, free: 9.223 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.178, allocations: 7.189 MB / 0.7268 GB, free: 1.902 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.178, allocations: 16.03 kB / 0.7269 GB, free: 1.887 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.192, allocations: 8.745 MB / 0.7354 GB, free: 9.012 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/1.194, allocations: 0.9294 MB / 0.7363 GB, free: 8.059 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006677/1.195, allocations: 83.92 kB / 0.7364 GB, free: 7.977 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.197, allocations: 207.7 kB / 0.7366 GB, free: 7.773 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/1.197, allocations: 271.1 kB / 0.7368 GB, free: 7.508 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/1.197, allocations: 112 kB / 0.7369 GB, free: 7.398 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003662/1.201, allocations: 2.336 MB / 0.7392 GB, free: 5.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 2e-07/1.201, allocations: 0 / 0.7392 GB, free: 5.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004983/1.206, allocations: 1.452 MB / 0.7406 GB, free: 3.621 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006517/1.207, allocations: 257.8 kB / 0.7409 GB, free: 3.367 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.1913/1.398, allocations: 6.432 MB / 0.7472 GB, free: 167.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.398, allocations: 2.094 kB / 0.7472 GB, free: 167.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006656/1.405, allocations: 3.077 MB / 0.7502 GB, free: 167.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006929/1.412, allocations: 0.782 MB / 0.7509 GB, free: 167 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/1.437, allocations: 17.25 MB / 0.7678 GB, free: 157.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004948/1.442, allocations: 5.012 MB / 0.7727 GB, free: 155.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.004727/1.447, allocations: 1.586 MB / 0.7742 GB, free: 155.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.448, allocations: 335.2 kB / 0.7745 GB, free: 155.1 MB / 490.8 MB Notification: Performance of SimCode: time 1.102e-06/1.448, allocations: 0 / 0.7745 GB, free: 155.1 MB / 490.8 MB Notification: Performance of Templates: time 0.08709/1.535, allocations: 58.7 MB / 0.8319 GB, free: 102.3 MB / 490.8 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1)