Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 181 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.05572/0.05572, allocations: 8.923 MB / 25.1 MB, free: 3.551 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.345/1.345, 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.0007423/0.0007425, allocations: 103.4 kB / 307 MB, free: 2.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 8 kB / 370.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3082, allocations: 52.55 MB / 422.8 MB, free: 47.93 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.01901/0.3272, allocations: 22.39 MB / 445.2 MB, free: 31.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.343, allocations: 9.834 MB / 455.1 MB, free: 23.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005975/0.349, allocations: 157.5 kB / 455.2 MB, free: 23.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005799/0.3548, allocations: 1.824 MB / 457 MB, free: 21.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009088/0.3639, allocations: 3.725 MB / 460.8 MB, free: 17.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.368, allocations: 2.435 MB / 463.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008704/0.3767, allocations: 9.389 MB / 472.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02807/0.4048, allocations: 23.04 MB / 495.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005482/0.4103, allocations: 3.491 MB / 499.1 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006656/0.417, allocations: 4.167 MB / 0.4915 GB, free: 4.984 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0021/0.4191, allocations: 0.5156 MB / 0.492 GB, free: 4.469 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.4226, allocations: 0.8746 MB / 0.4929 GB, free: 3.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.4246, allocations: 1.685 MB / 0.4945 GB, free: 1.898 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005778/0.4304, allocations: 4.037 MB / 0.4984 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.4492, allocations: 17.05 MB / 0.5151 GB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4492, allocations: 0 / 0.5151 GB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4492, allocations: 4 kB / 0.5151 GB, free: 12.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003753/0.4496, allocations: 4 kB / 0.5151 GB, free: 12.71 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.02263/0.4722, allocations: 9.045 MB / 0.5239 GB, free: 3.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4723, allocations: 16.02 kB / 0.5239 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02826/0.5006, allocations: 5.652 MB / 0.5295 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.5111, allocations: 5.68 MB / 0.535 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/0.5116, allocations: 0.5781 MB / 0.5356 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.5138, allocations: 0.7694 MB / 0.5363 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02435/0.5381, allocations: 12.71 MB / 0.5487 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/0.5383, allocations: 7.906 kB / 0.5487 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008845/0.5392, allocations: 332 kB / 0.5491 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004566/0.5397, allocations: 0.4928 MB / 0.5495 GB, free: 9.184 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3455/0.8852, allocations: 12.19 MB / 0.5615 GB, free: 112 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06356/0.9488, allocations: 43.84 MB / 0.6043 GB, free: 82.63 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/0.9655, allocations: 25.15 MB / 0.6288 GB, free: 56.85 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/0.9699, allocations: 2.964 MB / 0.6317 GB, free: 53.88 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.9703, allocations: 244.9 kB / 0.632 GB, free: 53.61 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003444/0.9737, allocations: 2.586 MB / 0.6345 GB, free: 50.96 MB / 426.8 MB Notification: Performance of pre-optimization done (n=391): time 5.801e-06/0.9738, allocations: 0 / 0.6345 GB, free: 50.96 MB / 426.8 MB Notification: Performance of matching and sorting (n=397): time 0.03155/1.005, allocations: 18.1 MB / 0.6522 GB, free: 32.71 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/1.005, allocations: 355.5 kB / 0.6525 GB, free: 32.29 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/1.01, allocations: 3.503 MB / 0.6559 GB, free: 28.78 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000438/1.01, allocations: 85.7 kB / 0.656 GB, free: 28.69 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/1.011, allocations: 3.376 MB / 0.6593 GB, free: 25.3 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009288/1.012, allocations: 1.35 MB / 0.6606 GB, free: 23.96 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/1.013, allocations: 116 kB / 0.6607 GB, free: 23.84 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002095/1.013, allocations: 0.5258 MB / 0.6612 GB, free: 23.31 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/1.016, allocations: 2.533 MB / 0.6637 GB, free: 20.77 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/1.02, allocations: 4.493 MB / 0.6681 GB, free: 15.4 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007456/1.027, allocations: 7.424 MB / 0.6753 GB, free: 7.102 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.881e-05/1.027, allocations: 16 kB / 0.6754 GB, free: 7.086 MB / 426.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01378/1.041, allocations: 8.245 MB / 0.6834 GB, free: 14.82 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/1.041, allocations: 53.7 kB / 0.6835 GB, free: 14.76 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/1.041, allocations: 67.98 kB / 0.6835 GB, free: 14.69 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/1.044, allocations: 0.9981 MB / 0.6845 GB, free: 13.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/1.049, allocations: 1.267 MB / 0.6857 GB, free: 12.43 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.061, allocations: 8.204 MB / 0.6938 GB, free: 4.086 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/1.065, allocations: 363.3 kB / 0.6941 GB, free: 3.73 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008186/1.066, allocations: 264 kB / 0.6944 GB, free: 3.473 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.005368/1.071, allocations: 2.906 MB / 0.6972 GB, free: 0.5469 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008723/1.072, allocations: 391.2 kB / 0.6976 GB, free: 164 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.083, allocations: 6.164 MB / 0.7036 GB, free: 9.941 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/1.083, allocations: 40 kB / 0.7036 GB, free: 9.902 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.083, allocations: 12 kB / 0.7036 GB, free: 9.891 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/1.083, allocations: 19.92 kB / 0.7036 GB, free: 9.871 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02589/1.109, allocations: 14.92 MB / 0.7182 GB, free: 10.79 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.109, allocations: 4 kB / 0.7182 GB, free: 10.79 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/1.112, allocations: 0.6787 MB / 0.7189 GB, free: 10.11 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/1.114, allocations: 0.8812 MB / 0.7197 GB, free: 9.223 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/1.115, allocations: 79.98 kB / 0.7198 GB, free: 9.145 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009907/1.125, allocations: 7.177 MB / 0.7268 GB, free: 1.832 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.125, allocations: 12.03 kB / 0.7268 GB, free: 1.82 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.138, allocations: 8.751 MB / 0.7354 GB, free: 8.945 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/1.14, allocations: 0.9295 MB / 0.7363 GB, free: 7.992 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006497/1.141, allocations: 87.92 kB / 0.7364 GB, free: 7.906 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.143, allocations: 207.7 kB / 0.7366 GB, free: 7.703 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/1.144, allocations: 271.1 kB / 0.7368 GB, free: 7.438 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/1.144, allocations: 108 kB / 0.7369 GB, free: 7.332 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003672/1.148, allocations: 2.34 MB / 0.7392 GB, free: 5 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.51e-07/1.148, allocations: 0 / 0.7392 GB, free: 5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005407/1.153, allocations: 1.456 MB / 0.7406 GB, free: 3.547 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.0005704/1.154, allocations: 261.9 kB / 0.7409 GB, free: 3.289 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.1922/1.346, allocations: 6.434 MB / 0.7472 GB, free: 167.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.346, allocations: 1.125 kB / 0.7472 GB, free: 167.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005101/1.351, allocations: 3.068 MB / 0.7502 GB, free: 167.1 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005576/1.357, allocations: 0.7742 MB / 0.7509 GB, free: 166.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/1.385, allocations: 17.25 MB / 0.7678 GB, free: 157.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006955/1.392, allocations: 5.004 MB / 0.7727 GB, free: 155.3 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005251/1.398, allocations: 1.589 MB / 0.7742 GB, free: 155.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.399, allocations: 334.2 kB / 0.7745 GB, free: 155.1 MB / 490.8 MB Notification: Performance of SimCode: time 1.403e-06/1.399, allocations: 0 / 0.7745 GB, free: 155.1 MB / 490.8 MB Notification: Performance of Templates: time 0.08719/1.486, allocations: 58.7 MB / 0.8319 GB, free: 102.2 MB / 490.8 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1)