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.001473/0.001473, allocations: 103.9 kB / 16.4 MB, free: 6.469 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.444/1.444, allocations: 222.9 MB / 240.1 MB, free: 4.52 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.001563/0.001563, allocations: 192.5 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03415/0.03415, allocations: 8.803 MB / 349.3 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 79.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1165, allocations: 51.56 MB / 0.5041 GB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.3389/0.4554, allocations: 27.01 MB / 0.5304 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.4742, allocations: 8.041 MB / 0.5383 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007649/0.482, allocations: 202 kB / 0.5385 GB, free: 4.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02316/0.5051, allocations: 9.325 MB / 0.5476 GB, free: 3.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.5194, allocations: 3.313 MB / 0.5508 GB, free: 2.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00682/0.5262, allocations: 1.805 MB / 0.5526 GB, free: 2.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02097/0.5472, allocations: 12.16 MB / 0.5645 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04499/0.5923, allocations: 24.39 MB / 0.5883 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/0.6068, allocations: 6.477 MB / 0.5946 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01581/0.6226, allocations: 7.169 MB / 0.6016 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007205/0.6299, allocations: 1.84 MB / 0.6034 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.6412, allocations: 2.203 MB / 0.6055 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007965/0.6492, allocations: 3.607 MB / 0.6091 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0185/0.6678, allocations: 6.919 MB / 0.6158 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0384/0.7062, allocations: 24.72 MB / 0.64 GB, free: 5.703 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.7062, allocations: 7.938 kB / 0.64 GB, free: 5.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.7063, allocations: 4 kB / 0.64 GB, free: 5.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008433/0.7071, allocations: 0 / 0.64 GB, free: 5.691 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.05059/0.7577, allocations: 14.48 MB / 0.6541 GB, free: 7.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.7578, allocations: 16.03 kB / 0.6541 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04694/0.8047, allocations: 8.478 MB / 0.6624 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/0.8255, allocations: 7.649 MB / 0.6699 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009135/0.8264, allocations: 0.8074 MB / 0.6707 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005136/0.8316, allocations: 1.059 MB / 0.6717 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05121/0.8828, allocations: 18.29 MB / 0.6896 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/0.8832, allocations: 15.91 kB / 0.6896 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004759/0.888, allocations: 448.9 kB / 0.69 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008198/0.8888, allocations: 0.6672 MB / 0.6907 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04194/0.9307, allocations: 17.54 MB / 0.7078 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6574/1.588, allocations: 58.05 MB / 0.7645 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02655/1.615, allocations: 37.48 MB / 0.8011 GB, free: 83.39 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006095/1.621, allocations: 4.107 MB / 0.8051 GB, free: 81.24 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004571/1.621, allocations: 197.2 kB / 0.8053 GB, free: 81.11 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/1.621, allocations: 90.72 kB / 0.8054 GB, free: 81.03 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 7.003e-06/1.621, allocations: 0 / 0.8054 GB, free: 81.03 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04474/1.666, allocations: 21.44 MB / 0.8263 GB, free: 68.42 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/1.666, allocations: 107.5 kB / 0.8264 GB, free: 68.3 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006039/1.672, allocations: 4.179 MB / 0.8305 GB, free: 64.09 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/1.674, allocations: 109.7 kB / 0.8306 GB, free: 63.98 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002133/1.676, allocations: 4.515 MB / 0.835 GB, free: 59.44 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/1.678, allocations: 1.776 MB / 0.8367 GB, free: 57.68 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/1.68, allocations: 1.351 MB / 0.8381 GB, free: 56.32 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/1.68, allocations: 312 kB / 0.8383 GB, free: 56.02 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004754/1.685, allocations: 3.441 MB / 0.8417 GB, free: 52.57 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006536/1.691, allocations: 5.889 MB / 0.8475 GB, free: 45.59 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/1.703, allocations: 10.02 MB / 0.8572 GB, free: 34.4 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.742e-05/1.703, allocations: 20 kB / 0.8573 GB, free: 34.38 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01982/1.723, allocations: 10.94 MB / 0.8679 GB, free: 23.35 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/1.723, allocations: 40 kB / 0.868 GB, free: 23.31 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/1.723, allocations: 76 kB / 0.8681 GB, free: 23.24 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003561/1.727, allocations: 1.434 MB / 0.8695 GB, free: 21.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005869/1.733, allocations: 1.607 MB / 0.871 GB, free: 20.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/1.747, allocations: 11.47 MB / 0.8822 GB, free: 8.586 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/1.753, allocations: 407.3 kB / 0.8826 GB, free: 8.188 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.754, allocations: 332 kB / 0.8829 GB, free: 7.863 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.008325/1.763, allocations: 4.165 MB / 0.887 GB, free: 3.684 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.764, allocations: 478.1 kB / 0.8874 GB, free: 3.211 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/1.778, allocations: 8.477 MB / 0.8957 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01219/1.79, allocations: 7.092 MB / 0.9026 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/1.79, allocations: 12 kB / 0.9027 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.899e-05/1.79, allocations: 23.91 kB / 0.9027 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04116/1.832, allocations: 18.76 MB / 0.921 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/1.832, allocations: 7.938 kB / 0.921 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004249/1.836, allocations: 0.9364 MB / 0.9219 GB, free: 15.63 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003728/1.84, allocations: 1.277 MB / 0.9232 GB, free: 14.34 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009652/1.841, allocations: 112 kB / 0.9233 GB, free: 14.23 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.856, allocations: 10.17 MB / 0.9332 GB, free: 3.938 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.856, allocations: 3.938 kB / 0.9332 GB, free: 3.934 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.304/2.16, allocations: 12.26 MB / 0.9452 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004172/2.164, allocations: 1.163 MB / 0.9463 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/2.166, allocations: 93 kB / 0.9464 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/2.169, allocations: 273 kB / 0.9467 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009799/2.17, allocations: 346.8 kB / 0.947 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003516/2.171, allocations: 148.5 kB / 0.9471 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006/2.177, allocations: 2.817 MB / 0.9499 GB, free: 178.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.61e-07/2.177, allocations: 0 / 0.9499 GB, free: 178.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009782/2.186, allocations: 1.933 MB / 0.9518 GB, free: 178.6 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.001568/2.188, allocations: 316 kB / 0.9521 GB, free: 178.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01671/2.205, allocations: 8.731 MB / 0.9606 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.205, allocations: 3.938 kB / 0.9606 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007944/2.213, allocations: 4.168 MB / 0.9647 GB, free: 174.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006412/2.219, allocations: 1.129 MB / 0.9658 GB, free: 174.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/2.254, allocations: 18.88 MB / 0.9842 GB, free: 166.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009261/2.264, allocations: 6.804 MB / 0.9909 GB, free: 163.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00233/2.266, allocations: 462.7 kB / 0.9913 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.012e-06/2.266, allocations: 0 / 0.9913 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.4866/2.753, allocations: 182.2 MB / 1.169 GB, free: 163.2 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)