Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009191/0.0009195, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.03878/0.03878, allocations: 8.924 MB / 25.1 MB, free: 3.684 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.274/1.274, 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.0007993/0.0007991, allocations: 103.1 kB / 307 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 8 kB / 370.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2565, allocations: 52.56 MB / 422.8 MB, free: 47.95 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01202/0.2685, allocations: 14.1 MB / 436.9 MB, free: 37.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009213/0.2778, allocations: 6.483 MB / 443.4 MB, free: 32.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/0.2808, allocations: 92.53 kB / 443.5 MB, free: 32.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.2839, allocations: 1.065 MB / 444.6 MB, free: 31.89 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:13:3-13:102:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.004589/0.2885, allocations: 1.748 MB / 446.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.2908, allocations: 1.266 MB / 447.6 MB, free: 29.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005801/0.2966, allocations: 4.852 MB / 452.4 MB, free: 25.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/0.2997, allocations: 2.863 MB / 455.3 MB, free: 22.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.3017, allocations: 1.47 MB / 456.8 MB, free: 21.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.3036, allocations: 1.855 MB / 458.6 MB, free: 19.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.3041, allocations: 232 kB / 458.9 MB, free: 19.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.3053, allocations: 451.7 kB / 459.3 MB, free: 18.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005372/0.3059, allocations: 0.8442 MB / 460.1 MB, free: 18.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.3075, allocations: 1.964 MB / 462.1 MB, free: 16.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.3119, allocations: 6.847 MB / 469 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3119, allocations: 0 / 469 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.312, allocations: 0 / 469 MB, free: 9.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001186/0.3121, allocations: 0 / 469 MB, free: 9.238 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.008449/0.3205, allocations: 4.066 MB / 473 MB, free: 5.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3206, allocations: 11.97 kB / 473 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/0.3254, allocations: 0.9563 MB / 474 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/0.3298, allocations: 2.562 MB / 476.6 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.3299, allocations: 279.8 kB / 476.8 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/0.3305, allocations: 368.1 kB / 477.2 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/0.3387, allocations: 4.653 MB / 481.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.049e-05/0.3388, allocations: 7.906 kB / 481.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003545/0.3391, allocations: 148 kB / 482 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/0.3393, allocations: 155.3 kB / 482.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007031/0.3464, allocations: 3.878 MB / 486 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0224/0.3688, allocations: 15.66 MB / 0.4899 GB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005284/0.3741, allocations: 6.045 MB / 0.4958 GB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.3762, allocations: 1.382 MB / 0.4972 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006569/0.3828, allocations: 4.249 MB / 0.5013 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3829, allocations: 51.88 kB / 0.5014 GB, free: 11.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=133): time 2.585e-06/0.3829, allocations: 0 / 0.5014 GB, free: 11.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=137): time 0.009337/0.3922, allocations: 5.169 MB / 0.5064 GB, free: 5.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3923, allocations: 72.66 kB / 0.5065 GB, free: 5.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.3954, allocations: 1.996 MB / 0.5084 GB, free: 3.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.3955, allocations: 49.7 kB / 0.5085 GB, free: 3.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.3966, allocations: 1.664 MB / 0.5101 GB, free: 2.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.397, allocations: 477.1 kB / 0.5106 GB, free: 1.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/0.3971, allocations: 36 kB / 0.5106 GB, free: 1.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3972, allocations: 381.9 kB / 0.511 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3983, allocations: 0.6559 MB / 0.5116 GB, free: 476 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.3997, allocations: 1.376 MB / 0.5129 GB, free: 14.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.4022, allocations: 2.191 MB / 0.5151 GB, free: 12.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.4022, allocations: 8 kB / 0.5151 GB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003676/0.4059, allocations: 2.47 MB / 0.5175 GB, free: 9.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.406, allocations: 17.34 kB / 0.5175 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.406, allocations: 24 kB / 0.5175 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.4063, allocations: 150.1 kB / 0.5177 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.408, allocations: 459.3 kB / 0.5181 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.4098, allocations: 1.951 MB / 0.52 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4113, allocations: 83.95 kB / 0.5201 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4114, allocations: 91.98 kB / 0.5202 GB, free: 6.832 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001786/0.4132, allocations: 1.063 MB / 0.5212 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.4136, allocations: 217.4 kB / 0.5214 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.4168, allocations: 2.008 MB / 0.5234 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4169, allocations: 16 kB / 0.5234 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4169, allocations: 8 kB / 0.5234 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.4169, allocations: 7.969 kB / 0.5234 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007082/0.424, allocations: 4.95 MB / 0.5283 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.424, allocations: 4 kB / 0.5283 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/0.4249, allocations: 207.7 kB / 0.5285 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008503/0.4258, allocations: 338.4 kB / 0.5288 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.428e-05/0.4258, allocations: 35.98 kB / 0.5288 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006109/0.432, allocations: 6.512 MB / 0.5352 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.432, allocations: 7.938 kB / 0.5352 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/0.4362, allocations: 2.889 MB / 0.538 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008575/0.4371, allocations: 438.4 kB / 0.5384 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.4374, allocations: 32 kB / 0.5385 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/0.4383, allocations: 63.95 kB / 0.5385 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.4387, allocations: 101.1 kB / 0.5386 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/0.4387, allocations: 36 kB / 0.5387 GB, free: 3.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002479/0.4412, allocations: 1.351 MB / 0.54 GB, free: 1.816 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.815e-06/0.4413, allocations: 0 / 0.54 GB, free: 1.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00306/0.4443, allocations: 0.6093 MB / 0.5406 GB, free: 1.207 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,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) * 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 (106): * Single equations (assignments): 103 * 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,8,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.0003671/0.4447, allocations: 167 kB / 0.5407 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.4476, allocations: 1.875 MB / 0.5426 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.4477, allocations: 3.938 kB / 0.5426 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.4494, allocations: 1.219 MB / 0.5438 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.4525, allocations: 0.5381 MB / 0.5443 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.4648, allocations: 7.648 MB / 0.5518 GB, free: 5.613 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.4669, allocations: 2.401 MB / 0.5541 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00183/0.4688, allocations: 470.6 kB / 0.5545 GB, free: 2.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.4692, allocations: 139.4 kB / 0.5547 GB, free: 2.582 MB / 426.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4692, allocations: 0 / 0.5547 GB, free: 2.582 MB / 426.7 MB Notification: Performance of Templates: time 0.2268/0.696, allocations: 27.94 MB / 0.582 GB, free: 112.8 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1)