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.001625/0.001625, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.693/1.693, allocations: 230.6 MB / 252.6 MB, free: 8.273 MB / 206.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.001673/0.001673, allocations: 202.9 kB / 309.2 MB, free: 3.156 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.04224/0.04224, allocations: 8.902 MB / 374.6 MB, free: 1.918 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.004073/0.004073, allocations: 79.88 kB / 0.4897 GB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3857, allocations: 55.6 MB / 0.544 GB, free: 27.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.014/0.3997, allocations: 14.36 MB / 0.558 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.4108, allocations: 4.757 MB / 0.5627 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/0.4145, allocations: 97.47 kB / 0.5628 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003543/0.418, allocations: 1.057 MB / 0.5638 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005366/0.4234, allocations: 1.331 MB / 0.5651 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.4263, allocations: 0.9829 MB / 0.566 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006544/0.4329, allocations: 4.231 MB / 0.5702 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.4359, allocations: 1.779 MB / 0.5719 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.44, allocations: 1.977 MB / 0.5738 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005325/0.4454, allocations: 2.236 MB / 0.576 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.4468, allocations: 0.51 MB / 0.5765 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.4496, allocations: 0.7403 MB / 0.5773 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.4507, allocations: 1.105 MB / 0.5783 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003669/0.4544, allocations: 2.154 MB / 0.5804 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009529/0.4639, allocations: 6.76 MB / 0.587 GB, free: 15.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.4639, allocations: 0 / 0.587 GB, free: 15.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4639, allocations: 5.062 kB / 0.587 GB, free: 15.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002434/0.4641, allocations: 4 kB / 0.587 GB, free: 15.02 MB / 398.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.01739/0.4815, allocations: 5.433 MB / 0.5924 GB, free: 11.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.4816, allocations: 12.03 kB / 0.5924 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005211/0.4868, allocations: 0.8299 MB / 0.5932 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006856/0.4937, allocations: 2.424 MB / 0.5955 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.4939, allocations: 246.9 kB / 0.5958 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.4951, allocations: 335.9 kB / 0.5961 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.506, allocations: 4.326 MB / 0.6003 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.5061, allocations: 7.953 kB / 0.6003 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.5071, allocations: 136 kB / 0.6005 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.5073, allocations: 142.5 kB / 0.6006 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.5176, allocations: 3.602 MB / 0.6041 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03439/0.552, allocations: 13.51 MB / 0.6173 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/0.5585, allocations: 2.679 MB / 0.6199 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.5615, allocations: 1.281 MB / 0.6212 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009004/0.5705, allocations: 3.47 MB / 0.6246 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/0.5723, allocations: 0.9507 MB / 0.6255 GB, free: 8.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 4.018e-06/0.5723, allocations: 0 / 0.6255 GB, free: 8.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=146): time 0.01447/0.5867, allocations: 5.355 MB / 0.6307 GB, free: 3.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/0.5869, allocations: 226.9 kB / 0.6309 GB, free: 3.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00599/0.5929, allocations: 1.83 MB / 0.6327 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002325/0.5931, allocations: 61.64 kB / 0.6328 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002347/0.5955, allocations: 1.518 MB / 0.6343 GB, free: 15.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007211/0.5962, allocations: 0.5229 MB / 0.6348 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006246/0.5968, allocations: 343.4 kB / 0.6351 GB, free: 15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.597, allocations: 305.1 kB / 0.6354 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.5982, allocations: 0.6988 MB / 0.6361 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.6001, allocations: 1.358 MB / 0.6374 GB, free: 12.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.6032, allocations: 2.118 MB / 0.6395 GB, free: 9.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.6032, allocations: 8 kB / 0.6395 GB, free: 9.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004895/0.6081, allocations: 2.589 MB / 0.642 GB, free: 7.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.6081, allocations: 16 kB / 0.642 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.6082, allocations: 19.94 kB / 0.642 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.6093, allocations: 379.5 kB / 0.6424 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.6107, allocations: 391.4 kB / 0.6428 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008864/0.6196, allocations: 7.998 MB / 0.6506 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.6216, allocations: 95.97 kB / 0.6507 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.6217, allocations: 87.98 kB / 0.6508 GB, free: 13.93 MB / 462.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.002234/0.624, allocations: 1.037 MB / 0.6518 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.6244, allocations: 206.7 kB / 0.652 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.6287, allocations: 2.171 MB / 0.6541 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.6287, allocations: 16 kB / 0.6541 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.6287, allocations: 8 kB / 0.6541 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.6287, allocations: 7.969 kB / 0.6541 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.6393, allocations: 4.964 MB / 0.659 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.6393, allocations: 0 / 0.659 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008296/0.6401, allocations: 171.8 kB / 0.6591 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.6417, allocations: 0.535 MB / 0.6597 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.6419, allocations: 43.97 kB / 0.6597 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/0.6562, allocations: 12.66 MB / 0.6721 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6562, allocations: 4.031 kB / 0.6721 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005959/0.6622, allocations: 3.135 MB / 0.6751 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.6639, allocations: 374.5 kB / 0.6755 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/0.6642, allocations: 39.98 kB / 0.6755 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/0.6651, allocations: 67.95 kB / 0.6756 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/0.6654, allocations: 113.1 kB / 0.6757 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6655, allocations: 47.98 kB / 0.6757 GB, free: 3.457 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002083/0.6676, allocations: 1.248 MB / 0.677 GB, free: 2.219 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6676, allocations: 0 / 0.677 GB, free: 2.219 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00264/0.6702, allocations: 0.5977 MB / 0.6775 GB, free: 1.621 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.0004039/0.6706, allocations: 182.9 kB / 0.6777 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.6748, allocations: 2.268 MB / 0.6799 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6748, allocations: 4.125 kB / 0.6799 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.6776, allocations: 1.716 MB / 0.6816 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/0.6804, allocations: 0.5685 MB / 0.6822 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.6923, allocations: 6.069 MB / 0.6881 GB, free: 6.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/0.6948, allocations: 2.348 MB / 0.6904 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001637/0.6964, allocations: 417.6 kB / 0.6908 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.6968, allocations: 135.4 kB / 0.6909 GB, free: 3.711 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6968, allocations: 4 kB / 0.6909 GB, free: 3.707 MB / 494.1 MB Notification: Performance of Templates: time 0.3793/1.076, allocations: 33.55 MB / 0.7237 GB, free: 110.1 MB / 494.1 MB " [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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.104472605045885] Failed to read output from testmodel.py, exit status != 0: 1.0879359079990536 1.096013701 0.629546825 Calling exit ...