Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") translateModel(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009428/0.0009429, allocations: 177.7 kB / 15.43 MB, free: 5.77 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.03754/0.03754, allocations: 8.92 MB / 25.1 MB, free: 3.586 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.308/1.308, allocations: 225.7 MB / 253.7 MB, free: 5.188 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.0007521/0.000752, allocations: 99.75 kB / 307 MB, free: 2.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003161, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2327, allocations: 52.56 MB / 422.8 MB, free: 47.96 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01033/0.2431, allocations: 11.83 MB / 434.7 MB, free: 39.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009348/0.2525, allocations: 5.49 MB / 440.2 MB, free: 34.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.2554, allocations: 82.97 kB / 440.2 MB, free: 34.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.2589, allocations: 0.8967 MB / 441.1 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.2648, allocations: 1.532 MB / 442.7 MB, free: 33.2 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/SynchronousMachines/SMR_Inverter.mo:50:3-50:33:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.2679, allocations: 1.165 MB / 443.8 MB, free: 32.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007576/0.2755, allocations: 4.07 MB / 447.9 MB, free: 29.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004922/0.2805, allocations: 2.757 MB / 450.7 MB, free: 27.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.2829, allocations: 1.264 MB / 451.9 MB, free: 26.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.2856, allocations: 1.594 MB / 453.5 MB, free: 24.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009028/0.2866, allocations: 200 kB / 453.7 MB, free: 24.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.2886, allocations: 399.7 kB / 454.1 MB, free: 24.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009618/0.2895, allocations: 0.7198 MB / 454.8 MB, free: 23.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002802/0.2924, allocations: 1.692 MB / 456.5 MB, free: 21.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005811/0.2982, allocations: 6.007 MB / 462.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2982, allocations: 0 / 462.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2982, allocations: 0 / 462.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002551/0.2985, allocations: 0 / 462.5 MB, free: 15.69 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.008822/0.3073, allocations: 3.548 MB / 466.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3074, allocations: 8.031 kB / 466.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004289/0.3117, allocations: 0.754 MB / 466.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.3162, allocations: 2.207 MB / 469 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.3164, allocations: 238.7 kB / 469.3 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.3177, allocations: 328 kB / 469.6 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.3282, allocations: 4.145 MB / 473.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.3283, allocations: 7.984 kB / 473.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009014/0.3293, allocations: 128 kB / 473.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.3295, allocations: 138.3 kB / 474 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007541/0.337, allocations: 3.507 MB / 477.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02365/0.3607, allocations: 13.26 MB / 490.8 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00555/0.3663, allocations: 5.504 MB / 496.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.3684, allocations: 1.083 MB / 497.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005733/0.3741, allocations: 3.068 MB / 0.4887 GB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.3742, allocations: 51.5 kB / 0.4887 GB, free: 8.305 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 2.876e-06/0.3742, allocations: 0 / 0.4887 GB, free: 8.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=110): time 0.01018/0.3844, allocations: 4.656 MB / 0.4933 GB, free: 3.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.3845, allocations: 64.41 kB / 0.4934 GB, free: 3.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.3877, allocations: 1.594 MB / 0.4949 GB, free: 1.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.963e-05/0.3878, allocations: 41.7 kB / 0.495 GB, free: 1.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.3889, allocations: 1.414 MB / 0.4963 GB, free: 320 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/0.3893, allocations: 394.5 kB / 0.4967 GB, free: 15.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.3894, allocations: 36 kB / 0.4967 GB, free: 15.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3896, allocations: 365.8 kB / 0.4971 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.3907, allocations: 0.5738 MB / 0.4977 GB, free: 14.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.392, allocations: 1.067 MB / 0.4987 GB, free: 13.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.3946, allocations: 1.733 MB / 0.5004 GB, free: 11.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.3946, allocations: 4 kB / 0.5004 GB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003496/0.3981, allocations: 2.046 MB / 0.5024 GB, free: 9.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.3982, allocations: 12 kB / 0.5024 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.3982, allocations: 16 kB / 0.5024 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/0.3986, allocations: 138.9 kB / 0.5025 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4, allocations: 367.4 kB / 0.5029 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.4025, allocations: 3.094 MB / 0.5059 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.4038, allocations: 80.08 kB / 0.506 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.404, allocations: 67.94 kB / 0.5061 GB, free: 5.594 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 182 * 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 {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001738/0.4057, allocations: 0.9617 MB / 0.507 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/0.4061, allocations: 169.9 kB / 0.5072 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.4095, allocations: 1.821 MB / 0.5089 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.4095, allocations: 12 kB / 0.509 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.4096, allocations: 4 kB / 0.509 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.4096, allocations: 3.984 kB / 0.509 GB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007905/0.4175, allocations: 4.369 MB / 0.5132 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4175, allocations: 11.97 kB / 0.5132 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.4184, allocations: 179.8 kB / 0.5134 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000821/0.4192, allocations: 303.1 kB / 0.5137 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.889e-05/0.4194, allocations: 31.98 kB / 0.5137 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007308/0.4267, allocations: 7.471 MB / 0.521 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4267, allocations: 7.969 kB / 0.521 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/0.431, allocations: 2.586 MB / 0.5236 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/0.4319, allocations: 362.9 kB / 0.5239 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.4323, allocations: 31.98 kB / 0.5239 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009544/0.4332, allocations: 63.95 kB / 0.524 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.4335, allocations: 84.77 kB / 0.5241 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.278e-05/0.4336, allocations: 35.98 kB / 0.5241 GB, free: 2.246 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002112/0.4357, allocations: 1.083 MB / 0.5252 GB, free: 1.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4357, allocations: 0 / 0.5252 GB, free: 1.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00215/0.4379, allocations: 0.5039 MB / 0.5257 GB, free: 0.6641 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smr.inertiaRotor.w,smr.stator.zeroInductor.i0,smr.stator.core.Phi.re,smr.stator.core.Phi.im,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003697/0.4383, allocations: 167.4 kB / 0.5258 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.4413, allocations: 1.733 MB / 0.5275 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4413, allocations: 0 / 0.5275 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.4432, allocations: 1.227 MB / 0.5287 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.4458, allocations: 480.4 kB / 0.5292 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.4567, allocations: 6.887 MB / 0.5359 GB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/0.4594, allocations: 2.233 MB / 0.5381 GB, free: 3.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001579/0.461, allocations: 375.3 kB / 0.5384 GB, free: 3.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.4614, allocations: 119.4 kB / 0.5385 GB, free: 3.281 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4614, allocations: 0 / 0.5385 GB, free: 3.281 MB / 410.7 MB Notification: Performance of Templates: time 0.2415/0.7029, allocations: 24.13 MB / 0.5621 GB, free: 122.4 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1)