Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 180.5 kB / 15.43 MB, free: 5.766 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.04438/0.04438, allocations: 8.927 MB / 25.1 MB, free: 3.582 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.464/1.464, allocations: 225.7 MB / 253.7 MB, free: 5.207 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.0008332/0.0008334, allocations: 98.41 kB / 307 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3117, allocations: 52.54 MB / 422.8 MB, free: 47.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01435/0.3261, allocations: 14.8 MB / 437.6 MB, free: 37.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.3392, allocations: 6.634 MB / 444.3 MB, free: 31.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003902/0.3432, allocations: 94.44 kB / 444.4 MB, free: 31.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.3472, allocations: 1.112 MB / 445.5 MB, free: 31.22 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/SynchronousMachines/SMEE_DOL.mo:9:3-9:102:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006114/0.3533, allocations: 1.831 MB / 447.3 MB, free: 29.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.3562, allocations: 1.32 MB / 448.6 MB, free: 28.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007081/0.3633, allocations: 5.321 MB / 453.9 MB, free: 24.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003672/0.367, allocations: 3.621 MB / 457.6 MB, free: 20.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.3696, allocations: 1.622 MB / 459.2 MB, free: 19.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.372, allocations: 2.123 MB / 461.3 MB, free: 16.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004623/0.3724, allocations: 256 kB / 461.6 MB, free: 16.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.3738, allocations: 479.8 kB / 462 MB, free: 16.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006715/0.3745, allocations: 0.9844 MB / 463 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.3765, allocations: 2.186 MB / 465.2 MB, free: 13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.3828, allocations: 7.587 MB / 472.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3829, allocations: 0 / 472.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.3829, allocations: 0 / 472.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002715/0.3831, allocations: 3.938 kB / 472.8 MB, free: 5.379 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01178/0.3949, allocations: 4.571 MB / 477.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.395, allocations: 8.031 kB / 477.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005668/0.4007, allocations: 0.9987 MB / 478.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006623/0.4073, allocations: 2.866 MB / 481.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/0.4078, allocations: 308.7 kB / 481.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.4092, allocations: 399.8 kB / 481.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.421, allocations: 5.209 MB / 487.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-05/0.4211, allocations: 4 kB / 487.1 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.4215, allocations: 168 kB / 487.3 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/0.4217, allocations: 176 kB / 487.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008992/0.4307, allocations: 4.47 MB / 491.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.46, allocations: 16.95 MB / 0.497 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/0.4673, allocations: 8.437 MB / 0.5052 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.4702, allocations: 1.719 MB / 0.5069 GB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008775/0.479, allocations: 5.059 MB / 0.5118 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.4791, allocations: 47.88 kB / 0.5119 GB, free: 48 kB / 378.7 MB Notification: Performance of pre-optimization done (n=158): time 5.34e-06/0.4791, allocations: 0 / 0.5119 GB, free: 48 kB / 378.7 MB Notification: Performance of matching and sorting (n=161): time 0.01267/0.4918, allocations: 6.254 MB / 0.518 GB, free: 9.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.4919, allocations: 72.72 kB / 0.518 GB, free: 9.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/0.4955, allocations: 2.302 MB / 0.5203 GB, free: 7.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.4956, allocations: 53.7 kB / 0.5203 GB, free: 7.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.497, allocations: 1.844 MB / 0.5221 GB, free: 5.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/0.4975, allocations: 0.5507 MB / 0.5227 GB, free: 4.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.4976, allocations: 47.94 kB / 0.5227 GB, free: 4.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4978, allocations: 390.2 kB / 0.5231 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.4992, allocations: 0.8592 MB / 0.5239 GB, free: 3.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.501, allocations: 1.578 MB / 0.5255 GB, free: 1.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.5044, allocations: 2.586 MB / 0.528 GB, free: 14.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.5044, allocations: 8 kB / 0.528 GB, free: 14.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.004728/0.5091, allocations: 2.919 MB / 0.5309 GB, free: 11.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.5092, allocations: 19.94 kB / 0.5309 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/0.5092, allocations: 24 kB / 0.5309 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.5095, allocations: 125.7 kB / 0.531 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.5115, allocations: 0.55 MB / 0.5316 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.5131, allocations: 1.83 MB / 0.5333 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.515, allocations: 127.8 kB / 0.5335 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.5151, allocations: 96 kB / 0.5336 GB, free: 8.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (270): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002305/0.5175, allocations: 1.2 MB / 0.5347 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/0.518, allocations: 245 kB / 0.535 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/0.5221, allocations: 2.491 MB / 0.5374 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5222, allocations: 16 kB / 0.5374 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.5222, allocations: 7.984 kB / 0.5374 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5222, allocations: 3.984 kB / 0.5374 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/0.5312, allocations: 5.864 MB / 0.5432 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5312, allocations: 0 / 0.5432 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.5325, allocations: 307.7 kB / 0.5434 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008312/0.5333, allocations: 306.2 kB / 0.5437 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.5335, allocations: 40.11 kB / 0.5438 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005983/0.5394, allocations: 6.417 MB / 0.55 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5395, allocations: 7.984 kB / 0.5501 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005904/0.5454, allocations: 3.622 MB / 0.5536 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.5467, allocations: 0.494 MB / 0.5541 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.547, allocations: 43.92 kB / 0.5541 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5482, allocations: 87.94 kB / 0.5542 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/0.5485, allocations: 129.1 kB / 0.5543 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5486, allocations: 44 kB / 0.5544 GB, free: 2.738 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002521/0.5511, allocations: 1.552 MB / 0.5559 GB, free: 1.172 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5511, allocations: 0 / 0.5559 GB, free: 1.172 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002496/0.5536, allocations: 0.6719 MB / 0.5565 GB, free: 0.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.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 {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003539/0.554, allocations: 175 kB / 0.5567 GB, free: 328 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2009/0.7549, allocations: 2.306 MB / 0.559 GB, free: 125.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.755, allocations: 0 / 0.559 GB, free: 125.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.757, allocations: 1.46 MB / 0.5604 GB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.7602, allocations: 0.5631 MB / 0.5609 GB, free: 124.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.7734, allocations: 8.786 MB / 0.5695 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/0.7763, allocations: 2.665 MB / 0.5721 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002636/0.779, allocations: 0.5556 MB / 0.5727 GB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.7795, allocations: 160.8 kB / 0.5728 GB, free: 118.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7795, allocations: 0 / 0.5728 GB, free: 118.2 MB / 426.7 MB Notification: Performance of Templates: time 0.05361/0.8331, allocations: 31.07 MB / 0.6032 GB, free: 94.04 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1)