Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 177.8 kB / 15.43 MB, free: 6.203 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.04134/0.04134, allocations: 8.922 MB / 25.1 MB, free: 3.703 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.328/1.328, 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.0007578/0.0007577, allocations: 98.88 kB / 307 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003282, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2568, allocations: 52.56 MB / 422.8 MB, free: 47.93 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.01911/0.276, allocations: 22.37 MB / 445.2 MB, free: 31.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.2925, allocations: 9.837 MB / 455 MB, free: 23.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005834/0.2984, allocations: 157.5 kB / 455.2 MB, free: 23.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005649/0.3041, allocations: 1.82 MB / 457 MB, free: 21.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009675/0.3138, allocations: 3.725 MB / 460.7 MB, free: 17.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.3187, allocations: 2.434 MB / 463.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009826/0.3285, allocations: 9.384 MB / 472.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02904/0.3576, allocations: 23.05 MB / 495.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005764/0.3634, allocations: 3.487 MB / 499.1 MB, free: 9.199 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00727/0.3707, allocations: 4.163 MB / 0.4915 GB, free: 5.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001879/0.3726, allocations: 0.5195 MB / 0.492 GB, free: 4.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.3761, allocations: 0.8707 MB / 0.4928 GB, free: 3.625 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.378, allocations: 1.693 MB / 0.4945 GB, free: 1.926 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00673/0.3848, allocations: 4.033 MB / 0.4984 GB, free: 13.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01906/0.4038, allocations: 17.05 MB / 0.5151 GB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4039, allocations: 4 kB / 0.5151 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.4039, allocations: 0 / 0.5151 GB, free: 12.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004591/0.4044, allocations: 3.938 kB / 0.5151 GB, free: 12.75 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.02367/0.428, allocations: 9.045 MB / 0.5239 GB, free: 3.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4281, allocations: 12.03 kB / 0.5239 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/0.457, allocations: 5.656 MB / 0.5295 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.4677, allocations: 5.676 MB / 0.535 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007184/0.4684, allocations: 0.5859 MB / 0.5356 GB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003803/0.4722, allocations: 0.7693 MB / 0.5363 GB, free: 6.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02935/0.5016, allocations: 12.71 MB / 0.5487 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/0.5019, allocations: 11.91 kB / 0.5487 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.503, allocations: 324 kB / 0.549 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004629/0.5035, allocations: 0.489 MB / 0.5495 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3897/0.8932, allocations: 12.19 MB / 0.5614 GB, free: 112 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07151/0.9647, allocations: 43.84 MB / 0.6042 GB, free: 82.69 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01712/0.9819, allocations: 25.16 MB / 0.6288 GB, free: 56.88 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/0.9862, allocations: 2.964 MB / 0.6317 GB, free: 53.91 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.9866, allocations: 244.6 kB / 0.6319 GB, free: 53.65 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003154/0.9897, allocations: 2.578 MB / 0.6345 GB, free: 51 MB / 426.8 MB Notification: Performance of pre-optimization done (n=391): time 5.871e-06/0.9897, allocations: 0 / 0.6345 GB, free: 51 MB / 426.8 MB Notification: Performance of matching and sorting (n=397): time 0.03053/1.02, allocations: 18.1 MB / 0.6521 GB, free: 32.76 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.02, allocations: 355.5 kB / 0.6525 GB, free: 32.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004517/1.025, allocations: 3.499 MB / 0.6559 GB, free: 28.83 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005196/1.025, allocations: 89.7 kB / 0.656 GB, free: 28.74 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/1.027, allocations: 3.368 MB / 0.6593 GB, free: 25.35 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.028, allocations: 1.358 MB / 0.6606 GB, free: 24 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/1.028, allocations: 108 kB / 0.6607 GB, free: 23.9 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000257/1.029, allocations: 0.5336 MB / 0.6612 GB, free: 23.36 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/1.032, allocations: 2.529 MB / 0.6637 GB, free: 20.82 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004276/1.037, allocations: 4.497 MB / 0.6681 GB, free: 15.45 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008535/1.045, allocations: 7.42 MB / 0.6753 GB, free: 7.152 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.083e-05/1.045, allocations: 20 kB / 0.6753 GB, free: 7.133 MB / 426.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01262/1.058, allocations: 8.233 MB / 0.6834 GB, free: 14.87 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/1.058, allocations: 62.02 kB / 0.6834 GB, free: 14.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.574e-05/1.058, allocations: 64 kB / 0.6835 GB, free: 14.74 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/1.061, allocations: 0.9979 MB / 0.6845 GB, free: 13.75 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/1.065, allocations: 1.26 MB / 0.6857 GB, free: 12.48 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.078, allocations: 8.216 MB / 0.6937 GB, free: 4.133 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/1.082, allocations: 363.3 kB / 0.6941 GB, free: 3.777 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.083, allocations: 260 kB / 0.6943 GB, free: 3.523 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.00573/1.089, allocations: 2.906 MB / 0.6972 GB, free: 0.5977 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.09, allocations: 387.2 kB / 0.6975 GB, free: 220 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.101, allocations: 6.166 MB / 0.7036 GB, free: 9.996 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-05/1.101, allocations: 40 kB / 0.7036 GB, free: 9.957 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/1.101, allocations: 12 kB / 0.7036 GB, free: 9.945 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/1.101, allocations: 23.86 kB / 0.7036 GB, free: 9.922 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.124, allocations: 14.91 MB / 0.7182 GB, free: 10.85 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.124, allocations: 4 kB / 0.7182 GB, free: 10.84 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/1.127, allocations: 0.6826 MB / 0.7189 GB, free: 10.16 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/1.129, allocations: 0.8774 MB / 0.7197 GB, free: 9.277 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002796/1.129, allocations: 87.98 kB / 0.7198 GB, free: 9.191 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.14, allocations: 7.176 MB / 0.7268 GB, free: 1.883 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.14, allocations: 8.219 kB / 0.7268 GB, free: 1.875 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/1.153, allocations: 8.749 MB / 0.7354 GB, free: 8.996 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.155, allocations: 0.9372 MB / 0.7363 GB, free: 8.035 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005583/1.156, allocations: 83.92 kB / 0.7364 GB, free: 7.953 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.157, allocations: 203.8 kB / 0.7366 GB, free: 7.754 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000577/1.158, allocations: 275.1 kB / 0.7368 GB, free: 7.484 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/1.158, allocations: 112 kB / 0.7369 GB, free: 7.375 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003433/1.162, allocations: 2.34 MB / 0.7392 GB, free: 5.043 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.6e-07/1.162, allocations: 0 / 0.7392 GB, free: 5.043 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004724/1.167, allocations: 1.456 MB / 0.7406 GB, free: 3.59 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.0005669/1.167, allocations: 249.3 kB / 0.7409 GB, free: 3.344 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.1774/1.344, allocations: 6.435 MB / 0.7471 GB, free: 167.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.345, allocations: 0.8438 kB / 0.7472 GB, free: 167.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005357/1.35, allocations: 3.073 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.00554/1.355, allocations: 0.7757 MB / 0.7509 GB, free: 167 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/1.378, allocations: 17.26 MB / 0.7678 GB, free: 157.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004575/1.383, allocations: 5.004 MB / 0.7726 GB, free: 155.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00456/1.388, allocations: 1.591 MB / 0.7742 GB, free: 155.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.389, allocations: 328.4 kB / 0.7745 GB, free: 155.1 MB / 490.8 MB Notification: Performance of SimCode: time 1.282e-06/1.389, allocations: 0 / 0.7745 GB, free: 155.1 MB / 490.8 MB Notification: Performance of Templates: time 0.08554/1.474, allocations: 58.69 MB / 0.8318 GB, free: 102.2 MB / 490.8 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1)