Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 178.5 kB / 15.43 MB, free: 6.203 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.04119/0.04119, allocations: 8.923 MB / 25.1 MB, free: 3.715 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.413/1.413, 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.0007541/0.000754, allocations: 95.64 kB / 307 MB, free: 2.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 8 kB / 370.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2944, allocations: 52.55 MB / 422.8 MB, free: 47.92 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02354/0.318, allocations: 23.7 MB / 446.5 MB, free: 30.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02024/0.3383, allocations: 9.821 MB / 456.3 MB, free: 21.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007006/0.3454, allocations: 179.4 kB / 456.5 MB, free: 21.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00684/0.3522, allocations: 1.937 MB / 458.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.3664, allocations: 3.994 MB / 462.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005975/0.3724, allocations: 2.192 MB / 464.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01451/0.3869, allocations: 12.25 MB / 476.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05192/0.4389, allocations: 30.89 MB / 0.4959 GB, free: 252 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/0.4497, allocations: 4.718 MB / 0.5005 GB, free: 11.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.4601, allocations: 5.551 MB / 0.5059 GB, free: 5.938 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003592/0.4637, allocations: 0.7188 MB / 0.5066 GB, free: 5.219 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006574/0.4703, allocations: 1.074 MB / 0.5077 GB, free: 4.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004973/0.4753, allocations: 2.257 MB / 0.5099 GB, free: 1.879 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01427/0.4896, allocations: 5.468 MB / 0.5152 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02912/0.5188, allocations: 23.25 MB / 0.5379 GB, free: 5.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5188, allocations: 0 / 0.5379 GB, free: 5.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5188, allocations: 0 / 0.5379 GB, free: 5.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008496/0.5197, allocations: 0 / 0.5379 GB, free: 5.055 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03759/0.5573, allocations: 12.15 MB / 0.5498 GB, free: 8.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5574, allocations: 12.03 kB / 0.5498 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0429/0.6003, allocations: 8.477 MB / 0.5581 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4348/1.035, allocations: 7.462 MB / 0.5653 GB, free: 105.8 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/1.036, allocations: 0.8061 MB / 0.5661 GB, free: 105.5 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005101/1.041, allocations: 1.066 MB / 0.5672 GB, free: 105.1 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05309/1.094, allocations: 18.23 MB / 0.585 GB, free: 97.91 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007782/1.095, allocations: 7.875 kB / 0.585 GB, free: 97.9 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004756/1.1, allocations: 455.3 kB / 0.5854 GB, free: 97.56 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008078/1.101, allocations: 0.6624 MB / 0.5861 GB, free: 97.49 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03463/1.135, allocations: 17.47 MB / 0.6031 GB, free: 81.01 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09719/1.233, allocations: 58.89 MB / 0.6606 GB, free: 21.15 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03015/1.263, allocations: 37.42 MB / 0.6972 GB, free: 11.81 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008062/1.271, allocations: 4.15 MB / 0.7012 GB, free: 7.629 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008561/1.272, allocations: 204.3 kB / 0.7014 GB, free: 7.426 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/1.272, allocations: 82.64 kB / 0.7015 GB, free: 7.332 MB / 458.8 MB Notification: Performance of pre-optimization done (n=524): time 1.266e-05/1.272, allocations: 0 / 0.7015 GB, free: 7.332 MB / 458.8 MB Notification: Performance of matching and sorting (n=530): time 0.05566/1.328, allocations: 21.9 MB / 0.7229 GB, free: 1.215 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/1.328, allocations: 111.5 kB / 0.723 GB, free: 1.09 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008757/1.337, allocations: 4.144 MB / 0.727 GB, free: 12.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001226/1.338, allocations: 109.7 kB / 0.7271 GB, free: 12.8 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003817/1.342, allocations: 4.507 MB / 0.7315 GB, free: 8.27 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00309/1.345, allocations: 1.787 MB / 0.7333 GB, free: 6.496 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001523/1.346, allocations: 147.9 kB / 0.7334 GB, free: 6.352 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001079/1.348, allocations: 0.5957 MB / 0.734 GB, free: 5.75 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007588/1.355, allocations: 3.453 MB / 0.7374 GB, free: 2.293 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2107/1.566, allocations: 5.894 MB / 0.7431 GB, free: 153.9 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.577, allocations: 10.06 MB / 0.753 GB, free: 147.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.577, allocations: 22.5 kB / 0.753 GB, free: 147.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01913/1.596, allocations: 10.96 MB / 0.7637 GB, free: 143.4 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/1.597, allocations: 37.73 kB / 0.7637 GB, free: 143.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001903/1.597, allocations: 78.91 kB / 0.7638 GB, free: 143.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004215/1.601, allocations: 1.376 MB / 0.7651 GB, free: 143.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006804/1.608, allocations: 1.627 MB / 0.7667 GB, free: 143 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/1.624, allocations: 10.54 MB / 0.777 GB, free: 137.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005509/1.63, allocations: 416.9 kB / 0.7774 GB, free: 137.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.631, allocations: 335.8 kB / 0.7777 GB, free: 137.4 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008346/1.639, allocations: 4.169 MB / 0.7818 GB, free: 135.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.641, allocations: 477.9 kB / 0.7823 GB, free: 135.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/1.656, allocations: 8.517 MB / 0.7906 GB, free: 129.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01089/1.667, allocations: 7.123 MB / 0.7975 GB, free: 123.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-05/1.667, allocations: 12 kB / 0.7976 GB, free: 123.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.988e-05/1.667, allocations: 24.75 kB / 0.7976 GB, free: 123.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03131/1.698, allocations: 19.39 MB / 0.8165 GB, free: 105.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.699, allocations: 4 kB / 0.8165 GB, free: 105.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003487/1.702, allocations: 0.9362 MB / 0.8174 GB, free: 104.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/1.705, allocations: 1.238 MB / 0.8186 GB, free: 103 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005506/1.706, allocations: 112 kB / 0.8188 GB, free: 102.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/1.717, allocations: 9.3 MB / 0.8278 GB, free: 93.61 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.717, allocations: 3.938 kB / 0.8278 GB, free: 93.61 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.735, allocations: 12.34 MB / 0.8399 GB, free: 81.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.738, allocations: 1.178 MB / 0.841 GB, free: 79.92 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/1.739, allocations: 95.94 kB / 0.8411 GB, free: 79.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.742, allocations: 279.8 kB / 0.8414 GB, free: 79.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/1.744, allocations: 356.4 kB / 0.8417 GB, free: 79.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005786/1.744, allocations: 148 kB / 0.8419 GB, free: 79.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005166/1.749, allocations: 2.784 MB / 0.8446 GB, free: 76.26 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.41e-07/1.749, allocations: 0 / 0.8446 GB, free: 76.26 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007644/1.757, allocations: 1.933 MB / 0.8465 GB, free: 74.33 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/1.758, allocations: 311.4 kB / 0.8468 GB, free: 74.03 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01339/1.771, allocations: 8.757 MB / 0.8553 GB, free: 65.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.772, allocations: 0 / 0.8553 GB, free: 65.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007114/1.779, allocations: 4.198 MB / 0.8594 GB, free: 61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007231/1.786, allocations: 1.061 MB / 0.8605 GB, free: 59.94 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03289/1.819, allocations: 24.05 MB / 0.884 GB, free: 35.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00901/1.828, allocations: 7.013 MB / 0.8908 GB, free: 28.73 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.007756/1.836, allocations: 2.313 MB / 0.8931 GB, free: 26.41 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/1.838, allocations: 419.3 kB / 0.8935 GB, free: 26.01 MB / 490.8 MB Notification: Performance of SimCode: time 1.222e-06/1.838, allocations: 4 kB / 0.8935 GB, free: 26 MB / 490.8 MB Notification: Performance of Templates: time 0.3114/2.149, allocations: 78.55 MB / 0.9702 GB, free: 116.6 MB / 490.8 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1)