Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 178.4 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.04106/0.04106, allocations: 8.923 MB / 25.1 MB, free: 3.711 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.416/1.416, allocations: 225.7 MB / 253.7 MB, free: 5.219 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.001241/0.00124, allocations: 98.56 kB / 307 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 52.55 MB / 422.8 MB, free: 47.98 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01483/0.3191, allocations: 13.98 MB / 436.8 MB, free: 37.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.3319, allocations: 6.469 MB / 443.3 MB, free: 32.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.336, allocations: 81.5 kB / 443.4 MB, free: 32.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004271/0.3403, allocations: 1.072 MB / 444.4 MB, free: 32.02 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/SynchronousMachines/SMEE_Synchronization1.mo:14:3-14:102:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006211/0.3466, allocations: 1.767 MB / 446.2 MB, free: 30.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.3493, allocations: 1.252 MB / 447.5 MB, free: 29.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007281/0.3566, allocations: 5.028 MB / 452.5 MB, free: 25.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.3598, allocations: 2.894 MB / 455.4 MB, free: 22.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.3624, allocations: 1.509 MB / 456.9 MB, free: 21.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.3651, allocations: 1.964 MB / 458.9 MB, free: 19.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.3656, allocations: 236 kB / 459.1 MB, free: 19.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.367, allocations: 447.7 kB / 459.5 MB, free: 18.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006202/0.3676, allocations: 0.8871 MB / 460.4 MB, free: 17.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.3696, allocations: 2.034 MB / 462.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005243/0.3748, allocations: 7.011 MB / 469.5 MB, free: 8.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3748, allocations: 0 / 469.5 MB, free: 8.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3748, allocations: 0 / 469.5 MB, free: 8.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001761/0.375, allocations: 0 / 469.5 MB, free: 8.734 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.009892/0.3849, allocations: 4.222 MB / 473.7 MB, free: 4.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.385, allocations: 12.03 kB / 473.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.3903, allocations: 0.9562 MB / 474.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006432/0.3967, allocations: 2.657 MB / 477.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.3969, allocations: 279.8 kB / 477.6 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000525/0.3974, allocations: 368 kB / 477.9 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008738/0.4062, allocations: 4.76 MB / 482.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.333e-05/0.4063, allocations: 3.984 kB / 482.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/0.4066, allocations: 152 kB / 482.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.4067, allocations: 159.3 kB / 483 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007513/0.4143, allocations: 4.034 MB / 487 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02483/0.4391, allocations: 15.91 MB / 0.4912 GB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006253/0.4454, allocations: 6.947 MB / 0.4979 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002572/0.448, allocations: 1.53 MB / 0.4994 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007468/0.4555, allocations: 4.255 MB / 0.5036 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.4556, allocations: 51.88 kB / 0.5036 GB, free: 8.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=137): time 3.287e-06/0.4556, allocations: 0 / 0.5036 GB, free: 8.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=159): time 0.01369/0.4693, allocations: 6.491 MB / 0.51 GB, free: 2.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.4694, allocations: 68.72 kB / 0.51 GB, free: 2.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005001/0.4745, allocations: 2.211 MB / 0.5122 GB, free: 15.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.4747, allocations: 57.7 kB / 0.5123 GB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.4763, allocations: 1.704 MB / 0.5139 GB, free: 14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000703/0.477, allocations: 0.543 MB / 0.5145 GB, free: 13.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.4772, allocations: 40 kB / 0.5145 GB, free: 13.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.4774, allocations: 394 kB / 0.5149 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.479, allocations: 0.824 MB / 0.5157 GB, free: 12.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.4811, allocations: 1.476 MB / 0.5171 GB, free: 10.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/0.4846, allocations: 2.452 MB / 0.5195 GB, free: 7.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/0.4846, allocations: 15.94 kB / 0.5195 GB, free: 7.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.005049/0.4897, allocations: 2.951 MB / 0.5224 GB, free: 4.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.4897, allocations: 21.34 kB / 0.5224 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.4898, allocations: 20 kB / 0.5224 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009/0.4907, allocations: 302.7 kB / 0.5227 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.4924, allocations: 491.2 kB / 0.5232 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004742/0.4971, allocations: 4.492 MB / 0.5276 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.499, allocations: 91.88 kB / 0.5277 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.4993, allocations: 100 kB / 0.5278 GB, free: 14.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002345/0.5016, allocations: 1.122 MB / 0.5289 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006311/0.5023, allocations: 233.2 kB / 0.5291 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.5065, allocations: 2.432 MB / 0.5315 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.5065, allocations: 16 kB / 0.5315 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5065, allocations: 4.125 kB / 0.5315 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.5066, allocations: 15.91 kB / 0.5315 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009007/0.5156, allocations: 5.782 MB / 0.5371 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.5156, allocations: 4 kB / 0.5371 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.5168, allocations: 275.8 kB / 0.5374 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008793/0.5177, allocations: 330.2 kB / 0.5377 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-05/0.5178, allocations: 43.92 kB / 0.5378 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006454/0.5243, allocations: 6.437 MB / 0.5441 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5243, allocations: 4.031 kB / 0.5441 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/0.5298, allocations: 3.533 MB / 0.5475 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.5312, allocations: 0.4943 MB / 0.548 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.5316, allocations: 36 kB / 0.548 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.5327, allocations: 71.95 kB / 0.5481 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/0.533, allocations: 117 kB / 0.5482 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-05/0.5331, allocations: 47.98 kB / 0.5482 GB, free: 9.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00227/0.5354, allocations: 1.499 MB / 0.5497 GB, free: 7.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5354, allocations: 0 / 0.5497 GB, free: 7.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002225/0.5376, allocations: 0.6564 MB / 0.5504 GB, free: 7.031 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003351/0.538, allocations: 163 kB / 0.5505 GB, free: 6.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00385/0.5418, allocations: 2.436 MB / 0.5529 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5419, allocations: 4.062 kB / 0.5529 GB, free: 4.383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.5439, allocations: 1.419 MB / 0.5543 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.547, allocations: 0.5334 MB / 0.5548 GB, free: 2.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2131/0.7601, allocations: 8.202 MB / 0.5628 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002571/0.7627, allocations: 2.51 MB / 0.5653 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002177/0.7649, allocations: 0.5155 MB / 0.5658 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/0.7654, allocations: 153.8 kB / 0.5659 GB, free: 120.5 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7654, allocations: 0 / 0.5659 GB, free: 120.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05532/0.8207, allocations: 30.91 MB / 0.5961 GB, free: 100.8 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1)