Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 106.5 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 240.1 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 188.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03469/0.03469, allocations: 8.804 MB / 349.3 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 75.88 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1105, allocations: 51.57 MB / 0.5041 GB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.3016/0.4122, allocations: 27 MB / 0.5304 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01756/0.4298, allocations: 8.041 MB / 0.5383 GB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007597/0.4374, allocations: 200.2 kB / 0.5385 GB, free: 5.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02164/0.4591, allocations: 9.328 MB / 0.5476 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.4738, allocations: 3.311 MB / 0.5508 GB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006792/0.4806, allocations: 1.821 MB / 0.5526 GB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02196/0.5026, allocations: 12.14 MB / 0.5644 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04494/0.5476, allocations: 24.39 MB / 0.5883 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01255/0.5602, allocations: 6.475 MB / 0.5946 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01531/0.5755, allocations: 7.171 MB / 0.6016 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007362/0.5829, allocations: 1.84 MB / 0.6034 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008842/0.5918, allocations: 2.198 MB / 0.6055 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006837/0.5987, allocations: 3.608 MB / 0.6091 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01434/0.613, allocations: 6.924 MB / 0.6158 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03421/0.6473, allocations: 24.73 MB / 0.64 GB, free: 5.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.6473, allocations: 4 kB / 0.64 GB, free: 5.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6473, allocations: 3.938 kB / 0.64 GB, free: 5.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007514/0.6481, allocations: 0 / 0.64 GB, free: 5.844 MB / 446.1 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.05112/0.6992, allocations: 14.48 MB / 0.6541 GB, free: 7.371 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.6993, allocations: 12.03 kB / 0.6541 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04795/0.7473, allocations: 8.481 MB / 0.6624 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01878/0.7661, allocations: 7.649 MB / 0.6699 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/0.7671, allocations: 0.8011 MB / 0.6707 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005703/0.7728, allocations: 1.061 MB / 0.6717 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05706/0.8299, allocations: 18.29 MB / 0.6896 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006496/0.8306, allocations: 11.84 kB / 0.6896 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005014/0.8357, allocations: 450.5 kB / 0.69 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008707/0.8366, allocations: 0.6711 MB / 0.6907 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04235/0.8789, allocations: 17.53 MB / 0.7078 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6081/1.487, allocations: 58.06 MB / 0.7645 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02501/1.512, allocations: 37.48 MB / 0.8011 GB, free: 83.65 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006028/1.518, allocations: 4.106 MB / 0.8051 GB, free: 81.49 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/1.519, allocations: 198.5 kB / 0.8053 GB, free: 81.36 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/1.519, allocations: 86.38 kB / 0.8054 GB, free: 81.28 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 7.283e-06/1.519, allocations: 0 / 0.8054 GB, free: 81.28 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04339/1.562, allocations: 21.44 MB / 0.8263 GB, free: 68.73 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.562, allocations: 103.5 kB / 0.8264 GB, free: 68.62 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005856/1.568, allocations: 4.183 MB / 0.8305 GB, free: 64.41 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009859/1.569, allocations: 113.7 kB / 0.8306 GB, free: 64.29 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.571, allocations: 4.505 MB / 0.835 GB, free: 59.75 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00178/1.573, allocations: 1.779 MB / 0.8367 GB, free: 57.99 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/1.575, allocations: 1.351 MB / 0.838 GB, free: 56.63 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/1.575, allocations: 308 kB / 0.8383 GB, free: 56.33 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/1.579, allocations: 3.441 MB / 0.8417 GB, free: 52.89 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005039/1.584, allocations: 5.881 MB / 0.8474 GB, free: 45.91 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.596, allocations: 10.02 MB / 0.8572 GB, free: 34.72 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.839e-05/1.596, allocations: 24 kB / 0.8573 GB, free: 34.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0185/1.614, allocations: 10.94 MB / 0.8679 GB, free: 23.67 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/1.614, allocations: 36.38 kB / 0.868 GB, free: 23.63 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001514/1.614, allocations: 84 kB / 0.868 GB, free: 23.55 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/1.618, allocations: 1.426 MB / 0.8694 GB, free: 22.12 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006049/1.624, allocations: 1.611 MB / 0.871 GB, free: 20.51 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/1.638, allocations: 11.47 MB / 0.8822 GB, free: 8.895 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005503/1.644, allocations: 403.3 kB / 0.8826 GB, free: 8.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.645, allocations: 336 kB / 0.8829 GB, free: 8.172 MB / 0.5138 GB 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00713/1.652, allocations: 4.173 MB / 0.887 GB, free: 3.984 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.654, allocations: 474.2 kB / 0.8874 GB, free: 3.516 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.668, allocations: 8.479 MB / 0.8957 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01195/1.68, allocations: 7.084 MB / 0.9026 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/1.68, allocations: 12 kB / 0.9027 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.586e-05/1.68, allocations: 27.89 kB / 0.9027 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03653/1.717, allocations: 18.76 MB / 0.921 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/1.717, allocations: 7.922 kB / 0.921 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003824/1.721, allocations: 0.9323 MB / 0.9219 GB, free: 15.93 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003907/1.725, allocations: 1.289 MB / 0.9232 GB, free: 14.64 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006879/1.725, allocations: 112 kB / 0.9233 GB, free: 14.53 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/1.742, allocations: 10.16 MB / 0.9332 GB, free: 4.246 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/1.742, allocations: 4 kB / 0.9332 GB, free: 4.242 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2712/2.013, allocations: 12.26 MB / 0.9452 GB, free: 179.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003311/2.016, allocations: 1.155 MB / 0.9463 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001359/2.018, allocations: 100.4 kB / 0.9464 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00325/2.021, allocations: 271.3 kB / 0.9467 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009748/2.022, allocations: 349 kB / 0.947 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003513/2.022, allocations: 147.6 kB / 0.9471 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005523/2.028, allocations: 2.817 MB / 0.9499 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.31e-07/2.028, allocations: 4.531 kB / 0.9499 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009066/2.037, allocations: 1.931 MB / 0.9518 GB, free: 179.1 MB / 0.5607 GB 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001459/2.038, allocations: 308.1 kB / 0.9521 GB, free: 179 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01587/2.054, allocations: 8.734 MB / 0.9606 GB, free: 176.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/2.054, allocations: 0 / 0.9606 GB, free: 176.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007549/2.062, allocations: 4.172 MB / 0.9647 GB, free: 174.9 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007372/2.069, allocations: 1.122 MB / 0.9658 GB, free: 174.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03274/2.102, allocations: 18.9 MB / 0.9842 GB, free: 166.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00882/2.111, allocations: 6.794 MB / 0.9909 GB, free: 163.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/2.113, allocations: 462.7 kB / 0.9913 GB, free: 163 MB / 0.5607 GB Notification: Performance of SimCode: time 1.443e-06/2.113, allocations: 0 / 0.9913 GB, free: 163 MB / 0.5607 GB Notification: Performance of Templates: time 0.4593/2.572, allocations: 182.2 MB / 1.169 GB, free: 163.9 MB / 0.5607 GB 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)