Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008801/0.0008802, allocations: 179.3 kB / 15.43 MB, free: 6.215 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.03892/0.03892, allocations: 8.922 MB / 25.1 MB, free: 3.637 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.357/1.357, allocations: 225.7 MB / 253.7 MB, free: 5.223 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.0007423/0.0007422, allocations: 94.89 kB / 307 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 12 kB / 370.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2553, allocations: 52.54 MB / 422.8 MB, free: 47.88 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01267/0.2681, allocations: 14.1 MB / 436.9 MB, free: 37.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.2782, allocations: 6.488 MB / 443.4 MB, free: 32.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.2812, allocations: 87.69 kB / 443.5 MB, free: 32.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.2845, allocations: 1.068 MB / 444.6 MB, free: 31.83 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.004886/0.2894, allocations: 1.755 MB / 446.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.2918, allocations: 1.262 MB / 447.6 MB, free: 29.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006042/0.2978, allocations: 4.842 MB / 452.4 MB, free: 25.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.301, allocations: 2.863 MB / 455.3 MB, free: 22.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.3032, allocations: 1.478 MB / 456.8 MB, free: 21.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.305, allocations: 1.863 MB / 458.6 MB, free: 19.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003686/0.3054, allocations: 232 kB / 458.9 MB, free: 19.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.3065, allocations: 443.7 kB / 459.3 MB, free: 18.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.3071, allocations: 0.8442 MB / 460.1 MB, free: 18.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.3086, allocations: 1.964 MB / 462.1 MB, free: 16.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.3132, allocations: 6.847 MB / 469 MB, free: 9.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3133, allocations: 4 kB / 469 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3133, allocations: 0 / 469 MB, free: 9.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001589/0.3134, 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.008535/0.322, allocations: 4.058 MB / 473 MB, free: 5.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.322, allocations: 12.03 kB / 473 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.3267, allocations: 0.9485 MB / 474 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.3308, allocations: 2.566 MB / 476.5 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.3309, allocations: 283.7 kB / 476.8 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/0.3314, allocations: 364.1 kB / 477.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00805/0.3395, allocations: 4.649 MB / 481.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.301e-05/0.3396, allocations: 11.91 kB / 481.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.3399, allocations: 152 kB / 482 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.3401, allocations: 155.3 kB / 482.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006965/0.3471, allocations: 3.874 MB / 486 MB, free: 8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/0.3704, allocations: 15.62 MB / 0.4899 GB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/0.3761, allocations: 6.115 MB / 0.4958 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.3785, allocations: 1.402 MB / 0.4972 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007133/0.3857, allocations: 4.289 MB / 0.5014 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.3858, allocations: 51.5 kB / 0.5014 GB, free: 11.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=125): time 3.446e-06/0.3858, allocations: 3.938 kB / 0.5014 GB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=156): time 0.0132/0.399, allocations: 6.196 MB / 0.5075 GB, free: 4.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3991, allocations: 76.59 kB / 0.5076 GB, free: 4.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.4019, allocations: 2.073 MB / 0.5096 GB, free: 2.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.402, allocations: 53.7 kB / 0.5096 GB, free: 2.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.4031, allocations: 1.691 MB / 0.5113 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.4035, allocations: 0.5431 MB / 0.5118 GB, free: 272 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.503e-05/0.4036, allocations: 44 kB / 0.5119 GB, free: 228 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4037, allocations: 398.4 kB / 0.5122 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.4049, allocations: 0.7774 MB / 0.513 GB, free: 15.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.4066, allocations: 1.536 MB / 0.5145 GB, free: 13.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/0.419, allocations: 4.806 MB / 0.5192 GB, free: 7.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/0.4191, allocations: 8 kB / 0.5192 GB, free: 7.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004629/0.4237, allocations: 2.868 MB / 0.522 GB, free: 5.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.4237, allocations: 17.41 kB / 0.522 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.4238, allocations: 28.06 kB / 0.5221 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000958/0.4247, allocations: 373.8 kB / 0.5224 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.4264, allocations: 487.2 kB / 0.5229 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004766/0.4312, allocations: 3.828 MB / 0.5266 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4329, allocations: 95.78 kB / 0.5267 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.433, allocations: 108 kB / 0.5268 GB, free: 60 kB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001969/0.435, allocations: 1.09 MB / 0.5279 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.4353, allocations: 229.2 kB / 0.5281 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/0.4387, allocations: 1.982 MB / 0.53 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.4387, allocations: 16 kB / 0.53 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.4388, allocations: 8 kB / 0.53 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.4388, allocations: 7.969 kB / 0.5301 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008598/0.4474, allocations: 5.495 MB / 0.5354 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.4474, allocations: 4 kB / 0.5354 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.4485, allocations: 264 kB / 0.5357 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008262/0.4494, allocations: 292.5 kB / 0.536 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/0.4495, allocations: 35.98 kB / 0.536 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/0.4538, allocations: 3.59 MB / 0.5395 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4539, allocations: 4 kB / 0.5395 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.4584, allocations: 2.929 MB / 0.5424 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.4594, allocations: 482.3 kB / 0.5428 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/0.4597, allocations: 36.11 kB / 0.5429 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.4607, allocations: 75.81 kB / 0.5429 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.461, allocations: 109.1 kB / 0.543 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.94e-05/0.4611, allocations: 40 kB / 0.5431 GB, free: 15.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00201/0.4631, allocations: 1.399 MB / 0.5444 GB, free: 13.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4631, allocations: 0 / 0.5444 GB, free: 13.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001867/0.465, allocations: 0.6445 MB / 0.5451 GB, free: 12.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.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 (132): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000285/0.4653, allocations: 166.6 kB / 0.5452 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003419/0.4687, allocations: 2.284 MB / 0.5475 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4687, allocations: 0 / 0.5475 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.4704, allocations: 1.083 MB / 0.5485 GB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.4734, allocations: 0.5472 MB / 0.549 GB, free: 8.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.4838, allocations: 7.801 MB / 0.5567 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1738/0.6576, allocations: 2.432 MB / 0.559 GB, free: 122.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002063/0.6597, allocations: 0.4953 MB / 0.5595 GB, free: 122.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.6602, allocations: 154.2 kB / 0.5597 GB, free: 122.5 MB / 426.7 MB Notification: Performance of SimCode: time 6.72e-07/0.6602, allocations: 0 / 0.5597 GB, free: 122.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05507/0.7153, allocations: 30.24 MB / 0.5892 GB, free: 107.3 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1)