Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 181.1 kB / 15.43 MB, free: 6.199 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.0393/0.0393, allocations: 8.923 MB / 25.1 MB, free: 3.773 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.336/1.336, allocations: 225.7 MB / 253.7 MB, free: 5.215 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.0008333/0.0008334, allocations: 99.16 kB / 307 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002951, allocations: 8 kB / 370.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2505, allocations: 52.55 MB / 422.8 MB, free: 47.94 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.01907/0.2696, allocations: 22.39 MB / 445.2 MB, free: 31.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.2846, allocations: 9.833 MB / 455.1 MB, free: 23.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005869/0.2906, allocations: 157.7 kB / 455.2 MB, free: 23.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005673/0.2963, allocations: 1.82 MB / 457 MB, free: 21.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009524/0.3058, allocations: 3.737 MB / 460.8 MB, free: 17.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0047/0.3105, allocations: 2.438 MB / 463.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.3206, allocations: 9.378 MB / 472.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02931/0.3499, allocations: 23.06 MB / 495.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006267/0.3563, allocations: 3.487 MB / 499.1 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007223/0.3635, allocations: 4.159 MB / 0.4915 GB, free: 5.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00226/0.3658, allocations: 0.5195 MB / 0.492 GB, free: 4.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00387/0.3697, allocations: 0.8707 MB / 0.4929 GB, free: 3.625 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002307/0.372, allocations: 1.693 MB / 0.4945 GB, free: 1.926 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006714/0.3788, allocations: 4.033 MB / 0.4984 GB, free: 13.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01703/0.3958, allocations: 17.05 MB / 0.5151 GB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3958, allocations: 0 / 0.5151 GB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3959, allocations: 0 / 0.5151 GB, free: 12.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004434/0.3963, allocations: 0 / 0.5151 GB, free: 12.76 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.02279/0.4191, allocations: 9.053 MB / 0.5239 GB, free: 3.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4192, allocations: 12.03 kB / 0.5239 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03026/0.4494, allocations: 5.656 MB / 0.5295 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.4612, allocations: 5.676 MB / 0.535 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005326/0.4618, allocations: 0.582 MB / 0.5356 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/0.4643, allocations: 0.7616 MB / 0.5363 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/0.4927, allocations: 12.71 MB / 0.5487 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/0.493, allocations: 11.91 kB / 0.5488 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001144/0.4941, allocations: 328 kB / 0.5491 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004531/0.4946, allocations: 0.4889 MB / 0.5495 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.39/0.8846, allocations: 12.19 MB / 0.5614 GB, free: 112.1 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08528/0.9699, allocations: 43.85 MB / 0.6043 GB, free: 82.72 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0197/0.9897, allocations: 25.16 MB / 0.6288 GB, free: 56.97 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005118/0.9948, allocations: 2.964 MB / 0.6317 GB, free: 54 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.9954, allocations: 248.2 kB / 0.632 GB, free: 53.73 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004516/1, allocations: 2.571 MB / 0.6345 GB, free: 51.09 MB / 426.8 MB Notification: Performance of pre-optimization done (n=391): time 8.967e-06/1, allocations: 0 / 0.6345 GB, free: 51.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=397): time 0.03288/1.033, allocations: 18.1 MB / 0.6522 GB, free: 32.84 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/1.033, allocations: 355.5 kB / 0.6525 GB, free: 32.42 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004206/1.037, allocations: 3.503 MB / 0.6559 GB, free: 28.91 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004322/1.038, allocations: 89.7 kB / 0.656 GB, free: 28.82 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.039, allocations: 3.372 MB / 0.6593 GB, free: 25.43 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.04, allocations: 1.349 MB / 0.6606 GB, free: 24.09 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/1.04, allocations: 116 kB / 0.6607 GB, free: 23.98 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002266/1.041, allocations: 0.5258 MB / 0.6612 GB, free: 23.45 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/1.044, allocations: 2.529 MB / 0.6637 GB, free: 20.91 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004447/1.049, allocations: 4.501 MB / 0.6681 GB, free: 15.53 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008101/1.057, allocations: 7.42 MB / 0.6753 GB, free: 7.234 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-05/1.057, allocations: 20 kB / 0.6754 GB, free: 7.215 MB / 426.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01167/1.068, allocations: 8.237 MB / 0.6834 GB, free: 14.95 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/1.068, allocations: 61.77 kB / 0.6835 GB, free: 14.89 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.487e-05/1.069, allocations: 60 kB / 0.6835 GB, free: 14.83 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/1.071, allocations: 0.9941 MB / 0.6845 GB, free: 13.83 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/1.076, allocations: 1.267 MB / 0.6857 GB, free: 12.56 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/1.088, allocations: 8.219 MB / 0.6938 GB, free: 4.207 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/1.092, allocations: 359.3 kB / 0.6941 GB, free: 3.855 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/1.092, allocations: 264 kB / 0.6944 GB, free: 3.598 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.004742/1.097, allocations: 2.911 MB / 0.6972 GB, free: 0.668 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007302/1.098, allocations: 383.2 kB / 0.6976 GB, free: 296 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.108, allocations: 6.171 MB / 0.7036 GB, free: 10.07 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/1.108, allocations: 40 kB / 0.7036 GB, free: 10.03 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/1.108, allocations: 12 kB / 0.7036 GB, free: 10.02 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/1.108, allocations: 23.92 kB / 0.7037 GB, free: 9.992 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/1.132, allocations: 14.91 MB / 0.7182 GB, free: 10.92 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/1.132, allocations: 4 kB / 0.7182 GB, free: 10.92 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/1.135, allocations: 0.6748 MB / 0.7189 GB, free: 10.24 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/1.138, allocations: 0.8776 MB / 0.7197 GB, free: 9.359 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004515/1.138, allocations: 87.98 kB / 0.7198 GB, free: 9.273 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/1.148, allocations: 7.173 MB / 0.7268 GB, free: 1.965 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.148, allocations: 12.03 kB / 0.7268 GB, free: 1.953 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.163, allocations: 8.748 MB / 0.7354 GB, free: 9.078 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002239/1.165, allocations: 0.9295 MB / 0.7363 GB, free: 8.125 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007465/1.166, allocations: 83.92 kB / 0.7364 GB, free: 8.043 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/1.168, allocations: 203.7 kB / 0.7366 GB, free: 7.844 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005869/1.168, allocations: 275.1 kB / 0.7368 GB, free: 7.574 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.168, allocations: 108 kB / 0.7369 GB, free: 7.469 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003563/1.172, allocations: 2.34 MB / 0.7392 GB, free: 5.137 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.61e-07/1.172, allocations: 384 / 0.7392 GB, free: 5.137 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004615/1.177, allocations: 1.452 MB / 0.7406 GB, free: 3.688 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.0005362/1.177, allocations: 262.6 kB / 0.7409 GB, free: 3.43 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.173/1.35, allocations: 6.44 MB / 0.7472 GB, free: 167.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.35, allocations: 1 kB / 0.7472 GB, free: 167.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004842/1.355, 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.005122/1.36, allocations: 0.7803 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.02333/1.384, 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.004902/1.389, allocations: 5.01 MB / 0.7727 GB, free: 155.3 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.004754/1.393, allocations: 1.588 MB / 0.7742 GB, free: 155.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.394, allocations: 331.8 kB / 0.7745 GB, free: 155.1 MB / 490.8 MB Notification: Performance of SimCode: time 4.61e-07/1.394, allocations: 0 / 0.7745 GB, free: 155.1 MB / 490.8 MB Notification: Performance of Templates: time 0.08849/1.483, allocations: 58.7 MB / 0.8319 GB, free: 102.4 MB / 490.8 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1)