Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 177.2 MB / 200.1 MB, free: 9.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 161.4 kB / 256.6 MB, free: 0.7461 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04084/0.04084, allocations: 6.665 MB / 319.6 MB, free: 12.06 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 87.86 kB / 446.4 MB, free: 2.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3873, allocations: 55.58 MB / 0.4902 GB, free: 76.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.0121/0.3994, allocations: 12.46 MB / 0.5024 GB, free: 68.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009474/0.4088, allocations: 4.496 MB / 0.5068 GB, free: 64.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.4117, allocations: 96.97 kB / 0.5069 GB, free: 64.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.415, allocations: 0.9966 MB / 0.5079 GB, free: 64.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.4201, allocations: 1.307 MB / 0.5091 GB, free: 63.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.4231, allocations: 0.9337 MB / 0.5101 GB, free: 62.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005517/0.4286, allocations: 4.242 MB / 0.5142 GB, free: 60.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.4309, allocations: 1.71 MB / 0.5159 GB, free: 59.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.4337, allocations: 1.988 MB / 0.5178 GB, free: 58.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.4374, allocations: 2.104 MB / 0.5199 GB, free: 57.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.4385, allocations: 0.506 MB / 0.5204 GB, free: 57.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.4408, allocations: 0.7174 MB / 0.5211 GB, free: 57.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009256/0.4417, allocations: 1.101 MB / 0.5221 GB, free: 57.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.4442, allocations: 1.713 MB / 0.5238 GB, free: 56.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008384/0.4526, allocations: 6.778 MB / 0.5304 GB, free: 53.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4526, allocations: 0 / 0.5304 GB, free: 53.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4526, allocations: 0 / 0.5304 GB, free: 53.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002483/0.4528, allocations: 1.219 kB / 0.5304 GB, free: 53.61 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.02197/0.4748, allocations: 5.432 MB / 0.5357 GB, free: 50.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.4749, allocations: 9.406 kB / 0.5357 GB, free: 50.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008805/0.4837, allocations: 0.8308 MB / 0.5366 GB, free: 50.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.4937, allocations: 2.399 MB / 0.5389 GB, free: 49.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000496/0.4942, allocations: 243.6 kB / 0.5391 GB, free: 49.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/0.4963, allocations: 333.9 kB / 0.5395 GB, free: 48.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.5165, allocations: 4.485 MB / 0.5438 GB, free: 46.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002005/0.5167, allocations: 7.234 kB / 0.5438 GB, free: 46.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.5179, allocations: 132.6 kB / 0.544 GB, free: 46.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002832/0.5181, allocations: 145.7 kB / 0.5441 GB, free: 46.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.5331, allocations: 3.597 MB / 0.5476 GB, free: 45.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04336/0.5765, allocations: 11.84 MB / 0.5592 GB, free: 36.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.587, allocations: 2.654 MB / 0.5618 GB, free: 35.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004625/0.5916, allocations: 1.292 MB / 0.563 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.6034, allocations: 3.086 MB / 0.566 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00246/0.6059, allocations: 1.094 MB / 0.5671 GB, free: 30.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=143): time 8.466e-06/0.6059, allocations: 7.938 kB / 0.5671 GB, free: 30.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=146): time 0.02117/0.6271, allocations: 5.331 MB / 0.5723 GB, free: 25.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.6272, allocations: 230.9 kB / 0.5725 GB, free: 24.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004479/0.6317, allocations: 1.629 MB / 0.5741 GB, free: 23.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000313/0.632, allocations: 61.7 kB / 0.5742 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.6338, allocations: 1.536 MB / 0.5757 GB, free: 21.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007464/0.6345, allocations: 0.523 MB / 0.5762 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.6356, allocations: 347.4 kB / 0.5765 GB, free: 20.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.6357, allocations: 305.1 kB / 0.5768 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.6376, allocations: 0.6949 MB / 0.5775 GB, free: 19.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.64, allocations: 1.534 MB / 0.579 GB, free: 17.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/0.6443, allocations: 2.13 MB / 0.5811 GB, free: 15.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/0.6443, allocations: 8 kB / 0.5811 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007091/0.6514, allocations: 2.566 MB / 0.5836 GB, free: 12.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.6515, allocations: 14.19 kB / 0.5836 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/0.6515, allocations: 16 kB / 0.5836 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.6532, allocations: 368.3 kB / 0.584 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/0.6558, allocations: 399.3 kB / 0.5844 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009885/0.6657, allocations: 7.841 MB / 0.592 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/0.6691, allocations: 107.9 kB / 0.5921 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005651/0.6697, allocations: 83.98 kB / 0.5922 GB, free: 3.613 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,$PRE.rmsI[3].mean.y_last,rmsI[2].mean.y_last,$PRE.rmsI[2].mean.y_last,rmsI[1].mean.y_last,$PRE.rmsI[1].mean.y_last,idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002678/0.6723, allocations: 1.032 MB / 0.5932 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005516/0.6729, allocations: 198.8 kB / 0.5934 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.6766, allocations: 2.142 MB / 0.5955 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.6766, allocations: 16 kB / 0.5955 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/0.6766, allocations: 11.94 kB / 0.5955 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.6766, allocations: 11.91 kB / 0.5955 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009578/0.6862, allocations: 4.271 MB / 0.5997 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.6862, allocations: 4 kB / 0.5997 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/0.687, allocations: 175.8 kB / 0.5999 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.6885, allocations: 0.5164 MB / 0.6004 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.6886, allocations: 47.98 kB / 0.6004 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/0.7031, allocations: 12.4 MB / 0.6125 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7031, allocations: 4.125 kB / 0.6125 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006493/0.7096, allocations: 3.118 MB / 0.6156 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.7111, allocations: 350.6 kB / 0.6159 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008498/0.7119, allocations: 47.98 kB / 0.616 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.7134, allocations: 59.95 kB / 0.616 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004011/0.7138, allocations: 121 kB / 0.6161 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.7139, allocations: 43.98 kB / 0.6162 GB, free: 10.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002576/0.7165, allocations: 1.087 MB / 0.6172 GB, free: 9.176 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7165, allocations: 0 / 0.6172 GB, free: 9.176 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003406/0.7199, allocations: 0.6054 MB / 0.6178 GB, free: 8.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (rmsI[3].mean.x,rmsI[2].mean.x,rmsI[1].mean.x,cStart.v,cRun.v,quadraticLoadTorque.phi,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.stator.core.Phi.im,imc.stator.core.Phi.re,imc.stator.zeroInductor.i0,imc.inertiaRotor.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,rmsI[2].mean.y_last,rmsI[1].mean.y_last,idealOpener.control,idealCloser.control) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004586/0.7203, allocations: 174.9 kB / 0.618 GB, free: 8.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004393/0.7247, allocations: 2.271 MB / 0.6202 GB, free: 6.066 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7247, allocations: 0 / 0.6202 GB, free: 6.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002992/0.7277, allocations: 1.71 MB / 0.6219 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.7306, allocations: 474.7 kB / 0.6223 GB, free: 3.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.7442, allocations: 6.017 MB / 0.6282 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003448/0.7477, allocations: 1.789 MB / 0.63 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00167/0.7493, allocations: 400 kB / 0.6303 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.7498, allocations: 124.6 kB / 0.6305 GB, free: 11.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7498, allocations: 3.938 kB / 0.6305 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Templates: time 0.3081/1.058, allocations: 29.44 MB / 0.6592 GB, free: 122.7 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.84590356098488] Failed to read output from testmodel.py, exit status != 0: 1.0684939989587292 1.078930292 0.623692432 Calling exit ...