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.0007608/0.0007609, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 240 MB, free: 5.406 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.0009697/0.0009697, allocations: 176.5 kB / 291.3 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03494/0.03494, allocations: 8.804 MB / 351.2 MB, free: 4.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 14.59 kB / 414.5 MB, free: 42.74 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06541/0.06576, allocations: 52.56 MB / 467 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02316/0.08896, allocations: 25.37 MB / 492.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.102, allocations: 7.915 MB / 0.4886 GB, free: 11.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.1055, allocations: 183.4 kB / 0.4888 GB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.1099, allocations: 1.944 MB / 0.4907 GB, free: 9.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008085/0.118, allocations: 3.022 MB / 0.4936 GB, free: 6.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.1216, allocations: 1.59 MB / 0.4952 GB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01198/0.1336, allocations: 12.22 MB / 0.5071 GB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03462/0.1682, allocations: 24.07 MB / 0.5306 GB, free: 492 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1609/0.3292, allocations: 4.58 MB / 0.5351 GB, free: 19.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007559/0.3368, allocations: 5.535 MB / 0.5405 GB, free: 18.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0027/0.3395, allocations: 0.7211 MB / 0.5412 GB, free: 18.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.344, allocations: 1.083 MB / 0.5423 GB, free: 18.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.3464, allocations: 2.268 MB / 0.5445 GB, free: 18.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006528/0.3529, allocations: 5.467 MB / 0.5498 GB, free: 16.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.3667, allocations: 20.95 MB / 0.5703 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3668, allocations: 0 / 0.5703 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3668, allocations: 0 / 0.5703 GB, free: 7.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004036/0.3672, allocations: 0 / 0.5703 GB, free: 7.219 MB / 366.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.02876/0.3959, allocations: 12.15 MB / 0.5821 GB, free: 1.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.396, allocations: 10.44 kB / 0.5821 GB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04954/0.4455, allocations: 8.644 MB / 0.5906 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/0.4588, allocations: 7.487 MB / 0.5979 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005754/0.4594, allocations: 0.8089 MB / 0.5987 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002602/0.462, allocations: 1.056 MB / 0.5997 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0324/0.4944, allocations: 18.31 MB / 0.6176 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/0.4946, allocations: 19.8 kB / 0.6176 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/0.4959, allocations: 449.7 kB / 0.618 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006352/0.4965, allocations: 0.6633 MB / 0.6187 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02911/0.5257, allocations: 17.55 MB / 0.6358 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07903/0.6047, allocations: 58.88 MB / 0.6933 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1917/0.7964, allocations: 37.46 MB / 0.7299 GB, free: 135.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00614/0.8026, allocations: 4.159 MB / 0.734 GB, free: 135.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/0.8032, allocations: 197.1 kB / 0.7342 GB, free: 135.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.524e-05/0.8032, allocations: 88.05 kB / 0.7343 GB, free: 135.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=524): time 7.965e-06/0.8033, allocations: 0 / 0.7343 GB, free: 135.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=530): time 0.04739/0.8506, allocations: 21.98 MB / 0.7557 GB, free: 132.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.8507, allocations: 110.2 kB / 0.7558 GB, free: 132.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/0.8557, allocations: 4.177 MB / 0.7599 GB, free: 130.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002953/0.856, allocations: 116.8 kB / 0.76 GB, free: 130.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.8577, allocations: 4.503 MB / 0.7644 GB, free: 127.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009822/0.8587, allocations: 1.794 MB / 0.7662 GB, free: 125.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006531/0.8594, allocations: 0.5524 MB / 0.7667 GB, free: 125.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.122e-05/0.8594, allocations: 305.1 kB / 0.767 GB, free: 125.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004212/0.8636, allocations: 3.485 MB / 0.7704 GB, free: 123.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004922/0.8686, allocations: 5.929 MB / 0.7762 GB, free: 119.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009873/0.8785, allocations: 10.1 MB / 0.786 GB, free: 112.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-05/0.8785, allocations: 22.69 kB / 0.7861 GB, free: 112.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01483/0.8933, allocations: 11.02 MB / 0.7968 GB, free: 103.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.8934, allocations: 43.5 kB / 0.7969 GB, free: 103.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.651e-05/0.8935, allocations: 81.5 kB / 0.7969 GB, free: 103.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.8969, allocations: 1.377 MB / 0.7983 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005101/0.902, allocations: 1.612 MB / 0.7999 GB, free: 100.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.9153, allocations: 10.59 MB / 0.8102 GB, free: 90.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/0.9196, allocations: 411.3 kB / 0.8106 GB, free: 89.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004816/0.9201, allocations: 336.3 kB / 0.8109 GB, free: 89.45 MB / 494.1 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.005363/0.9255, allocations: 4.174 MB / 0.815 GB, free: 85.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007734/0.9263, allocations: 475.5 kB / 0.8154 GB, free: 84.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.9387, allocations: 8.55 MB / 0.8238 GB, free: 76.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009587/0.9483, allocations: 7.159 MB / 0.8308 GB, free: 68.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.9483, allocations: 12 kB / 0.8308 GB, free: 68.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/0.9483, allocations: 31.88 kB / 0.8308 GB, free: 68.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/0.9735, allocations: 19.43 MB / 0.8498 GB, free: 49.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.9735, allocations: 4 kB / 0.8498 GB, free: 49.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/0.9771, allocations: 0.9403 MB / 0.8507 GB, free: 48.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/0.9802, allocations: 1.246 MB / 0.8519 GB, free: 46.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002697/0.9805, allocations: 112 kB / 0.8521 GB, free: 46.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/0.9922, allocations: 9.315 MB / 0.8611 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.9922, allocations: 7.938 kB / 0.8612 GB, free: 37.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/1.008, allocations: 12.4 MB / 0.8733 GB, free: 24.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/1.01, allocations: 1.17 MB / 0.8744 GB, free: 23.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005745/1.01, allocations: 88 kB / 0.8745 GB, free: 23.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/1.013, allocations: 291.3 kB / 0.8748 GB, free: 23.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006387/1.013, allocations: 352.3 kB / 0.8751 GB, free: 22.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002821/1.014, allocations: 144 kB / 0.8752 GB, free: 22.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003375/1.017, allocations: 2.819 MB / 0.878 GB, free: 19.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.017, allocations: 4 kB / 0.878 GB, free: 19.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005115/1.022, allocations: 1.931 MB / 0.8799 GB, free: 18.01 MB / 494.1 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.0005611/1.023, allocations: 299.9 kB / 0.8802 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01132/1.034, allocations: 8.789 MB / 0.8888 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.034, allocations: 0 / 0.8888 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005516/1.04, allocations: 4.221 MB / 0.8929 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005883/1.046, allocations: 1.059 MB / 0.8939 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1917/1.237, allocations: 23.78 MB / 0.9171 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006973/1.244, allocations: 6.801 MB / 0.9238 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.246, allocations: 467 kB / 0.9242 GB, free: 137.6 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/1.246, allocations: 0 / 0.9242 GB, free: 137.6 MB / 494.1 MB Notification: Performance of Templates: time 0.3434/1.59, allocations: 180.1 MB / 1.1 GB, free: 133.4 MB / 494.1 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)