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.0009389/0.0009389, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.423/1.423, allocations: 223.2 MB / 238.9 MB, free: 5.48 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.001484/0.001483, allocations: 192.1 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03615/0.03615, allocations: 8.792 MB / 350.1 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004068, allocations: 13.78 kB / 413.1 MB, free: 43.08 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 52.56 MB / 465.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02291/0.1421, allocations: 21.61 MB / 487.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01815/0.1603, allocations: 7.635 MB / 494.9 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006394/0.1667, allocations: 171.4 kB / 495.1 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007131/0.1739, allocations: 1.637 MB / 496.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.1848, allocations: 2.805 MB / 499.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005309/0.1901, allocations: 1.285 MB / 0.4891 GB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01854/0.2086, allocations: 10.85 MB / 0.4997 GB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03765/0.2463, allocations: 19.6 MB / 0.5188 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008206/0.2546, allocations: 4.354 MB / 0.523 GB, free: 7.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009861/0.2645, allocations: 4.782 MB / 0.5277 GB, free: 2.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003211/0.2677, allocations: 0.7188 MB / 0.5284 GB, free: 1.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0047/0.2725, allocations: 1.003 MB / 0.5294 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2803/0.5527, allocations: 2.147 MB / 0.5315 GB, free: 24.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007396/0.5602, allocations: 2.313 MB / 0.5338 GB, free: 24.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02885/0.5891, allocations: 20.88 MB / 0.5541 GB, free: 16.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5891, allocations: 3.875 kB / 0.5541 GB, free: 16.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.5891, allocations: 1.062 kB / 0.5541 GB, free: 16.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009744/0.5901, allocations: 3.375 kB / 0.5541 GB, free: 16.47 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.04176/0.6319, allocations: 12.18 MB / 0.566 GB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.6319, allocations: 8.844 kB / 0.5661 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04655/0.6785, allocations: 8.266 MB / 0.5741 GB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02112/0.6997, allocations: 7.383 MB / 0.5813 GB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009408/0.7006, allocations: 0.8049 MB / 0.5821 GB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006911/0.7076, allocations: 1.055 MB / 0.5832 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06469/0.7723, allocations: 18.14 MB / 0.6009 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008448/0.7732, allocations: 18.73 kB / 0.6009 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0071/0.7803, allocations: 450.7 kB / 0.6013 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/0.7815, allocations: 0.665 MB / 0.602 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04904/0.8306, allocations: 17.47 MB / 0.619 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1377/0.9683, allocations: 58.82 MB / 0.6765 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3496/1.318, allocations: 37.42 MB / 0.713 GB, free: 116.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.319, allocations: 193.5 kB / 0.7132 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/1.319, allocations: 93.39 kB / 0.7133 GB, free: 116.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=524): time 1.43e-05/1.319, allocations: 0 / 0.7133 GB, free: 116.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=530): time 0.0627/1.382, allocations: 22.19 MB / 0.735 GB, free: 111.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/1.382, allocations: 103 kB / 0.7351 GB, free: 111.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007179/1.389, allocations: 4.112 MB / 0.7391 GB, free: 110.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001198/1.391, allocations: 113.2 kB / 0.7392 GB, free: 110.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002596/1.393, allocations: 4.508 MB / 0.7436 GB, free: 106.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00214/1.395, allocations: 1.796 MB / 0.7453 GB, free: 105.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/1.396, allocations: 143.3 kB / 0.7455 GB, free: 105.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003516/1.396, allocations: 0.5922 MB / 0.7461 GB, free: 104.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004827/1.401, allocations: 3.477 MB / 0.7494 GB, free: 103.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006096/1.407, allocations: 5.889 MB / 0.7552 GB, free: 99.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007458/1.415, allocations: 4.795 MB / 0.7599 GB, free: 96.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.638e-05/1.415, allocations: 24 kB / 0.7599 GB, free: 96.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01851/1.433, allocations: 10.99 MB / 0.7706 GB, free: 86.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.433, allocations: 36 kB / 0.7707 GB, free: 86.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/1.433, allocations: 80.88 kB / 0.7708 GB, free: 86.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003656/1.437, allocations: 1.384 MB / 0.7721 GB, free: 85.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006483/1.444, allocations: 1.611 MB / 0.7737 GB, free: 84.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/1.458, allocations: 10.87 MB / 0.7843 GB, free: 73.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006123/1.464, allocations: 407.3 kB / 0.7847 GB, free: 73.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/1.466, allocations: 340.1 kB / 0.785 GB, free: 72.72 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009559/1.475, allocations: 4.154 MB / 0.7891 GB, free: 68.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/1.477, allocations: 482.1 kB / 0.7895 GB, free: 68.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.495, allocations: 8.572 MB / 0.7979 GB, free: 59.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01241/1.507, allocations: 7.148 MB / 0.8049 GB, free: 52.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.334e-05/1.508, allocations: 12 kB / 0.8049 GB, free: 52.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.327e-05/1.508, allocations: 27.89 kB / 0.8049 GB, free: 52.15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0449/1.553, allocations: 19.4 MB / 0.8239 GB, free: 32.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/1.553, allocations: 0 / 0.8239 GB, free: 32.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004383/1.557, allocations: 0.9401 MB / 0.8248 GB, free: 31.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003838/1.561, allocations: 1.231 MB / 0.826 GB, free: 30.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001236/1.562, allocations: 112 kB / 0.8261 GB, free: 30.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.577, allocations: 9.622 MB / 0.8355 GB, free: 20.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.577, allocations: 1.875 kB / 0.8355 GB, free: 20.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/1.599, allocations: 12.63 MB / 0.8478 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004275/1.604, allocations: 1.174 MB / 0.849 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00209/1.606, allocations: 96 kB / 0.8491 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003998/1.61, allocations: 279.8 kB / 0.8493 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/1.611, allocations: 348.4 kB / 0.8497 GB, free: 5.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006497/1.612, allocations: 153.6 kB / 0.8498 GB, free: 5.492 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005283/1.617, allocations: 2.752 MB / 0.8525 GB, free: 2.727 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.617, allocations: 4 kB / 0.8525 GB, free: 2.723 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009393/1.626, allocations: 1.935 MB / 0.8544 GB, free: 0.793 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/1.628, allocations: 303.5 kB / 0.8547 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01784/1.646, allocations: 8.774 MB / 0.8632 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.646, allocations: 4 kB / 0.8632 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008512/1.654, allocations: 4.213 MB / 0.8674 GB, free: 3.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006732/1.661, allocations: 0.9987 MB / 0.8683 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05065/1.712, allocations: 22.98 MB / 0.8908 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01656/1.728, allocations: 7.184 MB / 0.8978 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0103/1.739, allocations: 2.313 MB / 0.9 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002822/1.742, allocations: 411.4 kB / 0.9004 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/1.742, allocations: 0 / 0.9004 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of Templates: time 0.3571/2.099, allocations: 76.23 MB / 0.9749 GB, free: 147.9 MB / 0.5137 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: