Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009294/0.0009296, 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.03826/0.03826, allocations: 8.923 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.342/1.342, 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.000773/0.000773, allocations: 97.16 kB / 307 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 11.98 kB / 370.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2616, allocations: 52.55 MB / 422.8 MB, free: 47.93 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01361/0.2752, allocations: 14.1 MB / 436.9 MB, free: 37.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.2871, allocations: 6.488 MB / 443.4 MB, free: 32.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.2903, allocations: 92.25 kB / 443.5 MB, free: 32.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.2935, allocations: 1.06 MB / 444.6 MB, free: 31.88 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.005222/0.2988, allocations: 1.743 MB / 446.3 MB, free: 30.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.3009, allocations: 1.274 MB / 447.6 MB, free: 29.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00538/0.3063, allocations: 4.853 MB / 452.4 MB, free: 25.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.3089, allocations: 2.863 MB / 455.3 MB, free: 22.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.3105, allocations: 1.474 MB / 456.8 MB, free: 21.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.312, allocations: 1.855 MB / 458.6 MB, free: 19.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.3123, allocations: 232 kB / 458.9 MB, free: 19.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.3135, allocations: 443.7 kB / 459.3 MB, free: 18.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005803/0.3141, allocations: 0.852 MB / 460.1 MB, free: 18.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.3155, allocations: 1.968 MB / 462.1 MB, free: 16.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003853/0.3193, allocations: 6.844 MB / 469 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3194, allocations: 0 / 469 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.3194, allocations: 4 kB / 469 MB, free: 9.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.979e-05/0.3195, allocations: 0 / 469 MB, free: 9.23 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.007588/0.327, allocations: 4.062 MB / 473 MB, free: 5.098 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3271, allocations: 8.031 kB / 473 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004414/0.3315, allocations: 0.9485 MB / 474 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.3358, allocations: 2.569 MB / 476.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.3359, allocations: 279.8 kB / 476.8 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/0.3364, allocations: 364.1 kB / 477.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00737/0.3437, allocations: 4.639 MB / 481.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.229e-05/0.3438, allocations: 7.906 kB / 481.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.3441, allocations: 152 kB / 482 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.3442, allocations: 155.3 kB / 482.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006027/0.3503, allocations: 3.874 MB / 486 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.3705, allocations: 15.46 MB / 0.4897 GB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005125/0.3757, allocations: 5.938 MB / 0.4955 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.3775, allocations: 1.265 MB / 0.4967 GB, free: 148 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005935/0.3835, allocations: 4.175 MB / 0.5008 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3835, allocations: 47.55 kB / 0.5009 GB, free: 11.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 2.535e-06/0.3836, allocations: 0 / 0.5009 GB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=144): time 0.01028/0.3938, allocations: 5.307 MB / 0.506 GB, free: 6.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3939, allocations: 68.72 kB / 0.5061 GB, free: 6.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.3968, allocations: 2.16 MB / 0.5082 GB, free: 4.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/0.3969, allocations: 49.7 kB / 0.5083 GB, free: 3.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.398, allocations: 1.722 MB / 0.5099 GB, free: 2.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.3984, allocations: 0.4968 MB / 0.5104 GB, free: 1.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/0.3985, allocations: 44 kB / 0.5105 GB, free: 1.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3987, allocations: 398.3 kB / 0.5109 GB, free: 1.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.3998, allocations: 0.7579 MB / 0.5116 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.4015, allocations: 1.541 MB / 0.5131 GB, free: 14.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/0.4138, allocations: 4.742 MB / 0.5177 GB, free: 9.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.4138, allocations: 11.94 kB / 0.5177 GB, free: 9.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004996/0.4188, allocations: 2.777 MB / 0.5205 GB, free: 6.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.4189, allocations: 17.41 kB / 0.5205 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-05/0.4189, allocations: 31.94 kB / 0.5205 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/0.4197, allocations: 290.1 kB / 0.5208 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.4215, allocations: 495.2 kB / 0.5212 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/0.4253, allocations: 3.173 MB / 0.5243 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.427, allocations: 95.78 kB / 0.5244 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.4272, allocations: 100 kB / 0.5245 GB, free: 2.41 MB / 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[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001903/0.4291, allocations: 1.087 MB / 0.5256 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/0.4295, allocations: 225.3 kB / 0.5258 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.4327, allocations: 1.766 MB / 0.5275 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4327, allocations: 19.94 kB / 0.5276 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4327, allocations: 0 / 0.5276 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.4328, allocations: 11.97 kB / 0.5276 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007917/0.4407, allocations: 5.022 MB / 0.5325 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.495e-06/0.4407, allocations: 4 kB / 0.5325 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.4418, allocations: 255.7 kB / 0.5327 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/0.4425, allocations: 230.5 kB / 0.5329 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.523e-05/0.4426, allocations: 31.98 kB / 0.533 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/0.4461, allocations: 3.044 MB / 0.5359 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4462, allocations: 4 kB / 0.5359 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/0.4501, allocations: 2.662 MB / 0.5385 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.4509, allocations: 470.3 kB / 0.539 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.4512, allocations: 28 kB / 0.539 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.4521, allocations: 63.91 kB / 0.5391 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.4523, allocations: 105 kB / 0.5392 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/0.4524, allocations: 43.98 kB / 0.5392 GB, free: 3.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002168/0.4546, allocations: 1.447 MB / 0.5406 GB, free: 1.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4546, allocations: 0 / 0.5406 GB, free: 1.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001837/0.4564, allocations: 0.6367 MB / 0.5413 GB, free: 0.9336 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,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 (125): * Single equations (assignments): 124 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002781/0.4567, allocations: 162 kB / 0.5414 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003281/0.46, allocations: 2.144 MB / 0.5435 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.46, allocations: 1 kB / 0.5435 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.4614, allocations: 0.9454 MB / 0.5444 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/0.4641, allocations: 0.5528 MB / 0.545 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.474, allocations: 7.654 MB / 0.5524 GB, free: 5.371 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.476, allocations: 2.43 MB / 0.5548 GB, free: 2.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00173/0.4778, allocations: 0.4995 MB / 0.5553 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.4782, allocations: 147.4 kB / 0.5554 GB, free: 2.262 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4782, allocations: 0 / 0.5554 GB, free: 2.262 MB / 426.7 MB Notification: Performance of Templates: time 0.2171/0.6953, allocations: 29.18 MB / 0.5839 GB, free: 111.6 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)