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.001422/0.001422, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.528/1.528, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001614/0.001614, allocations: 214.1 kB / 310 MB, free: 3.125 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.04169/0.04169, allocations: 8.931 MB / 375.3 MB, free: 6.559 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.002509/0.002509, allocations: 83.86 kB / 0.4904 GB, free: 44.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1029, allocations: 55.62 MB / 0.5447 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01695/0.1199, allocations: 12.45 MB / 0.5568 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.1318, allocations: 4.49 MB / 0.5612 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.1348, allocations: 103.4 kB / 0.5613 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003335/0.1381, allocations: 0.9978 MB / 0.5623 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004739/0.1429, allocations: 1.309 MB / 0.5636 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.1454, allocations: 0.9423 MB / 0.5645 GB, free: 140 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2452/0.3905, allocations: 4.222 MB / 0.5686 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.3934, allocations: 1.71 MB / 0.5703 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.397, allocations: 1.987 MB / 0.5722 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004801/0.4018, allocations: 2.11 MB / 0.5743 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.4035, allocations: 0.5136 MB / 0.5748 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.4064, allocations: 0.7114 MB / 0.5755 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.4076, allocations: 1.095 MB / 0.5766 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004311/0.4119, allocations: 1.706 MB / 0.5782 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.4224, allocations: 6.785 MB / 0.5848 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4224, allocations: 0 / 0.5848 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4224, allocations: 0.6875 kB / 0.5848 GB, free: 6.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002609/0.4227, allocations: 1.375 kB / 0.5848 GB, free: 6.984 MB / 382.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.01609/0.4388, allocations: 5.426 MB / 0.5901 GB, free: 4.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4388, allocations: 14.42 kB / 0.5902 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.4439, allocations: 0.8394 MB / 0.591 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005946/0.4499, allocations: 2.405 MB / 0.5933 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.4501, allocations: 244.9 kB / 0.5936 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.4514, allocations: 330.5 kB / 0.5939 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009512/0.4609, allocations: 4.48 MB / 0.5983 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.43e-05/0.461, allocations: 11.33 kB / 0.5983 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/0.4614, allocations: 130.5 kB / 0.5984 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.4615, allocations: 150.6 kB / 0.5985 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007603/0.4691, allocations: 3.589 MB / 0.602 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02457/0.4937, allocations: 11.82 MB / 0.6136 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005434/0.4991, allocations: 2.666 MB / 0.6162 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/0.5015, allocations: 1.286 MB / 0.6174 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007319/0.5089, allocations: 3.1 MB / 0.6205 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.5105, allocations: 1.089 MB / 0.6215 GB, free: 11.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=143): time 3.727e-06/0.5105, allocations: 0 / 0.6215 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=146): time 0.01284/0.5234, allocations: 5.341 MB / 0.6267 GB, free: 6.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.5235, allocations: 226.9 kB / 0.627 GB, free: 6.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.5263, allocations: 1.637 MB / 0.6286 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.5266, allocations: 57.69 kB / 0.6286 GB, free: 4.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.5282, allocations: 1.539 MB / 0.6301 GB, free: 3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005778/0.5288, allocations: 0.5216 MB / 0.6306 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005725/0.5294, allocations: 351.4 kB / 0.631 GB, free: 2.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5295, allocations: 305.1 kB / 0.6313 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.5307, allocations: 0.6949 MB / 0.6319 GB, free: 1.141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.5326, allocations: 1.537 MB / 0.6334 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.5357, allocations: 2.126 MB / 0.6355 GB, free: 12.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.5357, allocations: 4 kB / 0.6355 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004545/0.5402, allocations: 2.567 MB / 0.638 GB, free: 10.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.5403, allocations: 13.88 kB / 0.638 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.5403, allocations: 20 kB / 0.6381 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/0.5413, allocations: 370.3 kB / 0.6384 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.5427, allocations: 392.1 kB / 0.6388 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008237/0.5509, allocations: 7.831 MB / 0.6464 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.5528, allocations: 91.98 kB / 0.6465 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.553, allocations: 87.98 kB / 0.6466 GB, free: 1.422 MB / 430.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.00234/0.5553, allocations: 1.036 MB / 0.6476 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/0.5558, allocations: 190.8 kB / 0.6478 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.56, allocations: 2.167 MB / 0.6499 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.56, allocations: 16 kB / 0.6499 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.5601, allocations: 12.06 kB / 0.6499 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.5601, allocations: 11.91 kB / 0.6499 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008721/0.5688, allocations: 4.261 MB / 0.6541 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.5688, allocations: 0 / 0.6541 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.5696, allocations: 172.5 kB / 0.6543 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.5711, allocations: 0.5209 MB / 0.6548 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.5712, allocations: 43.97 kB / 0.6548 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.5844, allocations: 12.4 MB / 0.6669 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5844, allocations: 0 / 0.6669 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0057/0.5901, allocations: 3.122 MB / 0.67 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.5914, allocations: 350.6 kB / 0.6703 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.5917, allocations: 43.98 kB / 0.6704 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008298/0.5925, allocations: 55.97 kB / 0.6704 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.5928, allocations: 125 kB / 0.6705 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/0.5929, allocations: 51.97 kB / 0.6706 GB, free: 8.242 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001789/0.5947, allocations: 1.087 MB / 0.6716 GB, free: 7.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5947, allocations: 384 / 0.6716 GB, free: 7.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002583/0.5973, allocations: 0.5938 MB / 0.6722 GB, free: 6.566 MB / 462.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.000385/0.5977, allocations: 190.1 kB / 0.6724 GB, free: 6.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003945/0.6016, allocations: 2.271 MB / 0.6746 GB, free: 4.051 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6016, allocations: 8.188 kB / 0.6746 GB, free: 4.043 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002763/0.6044, allocations: 1.745 MB / 0.6763 GB, free: 2.223 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.607, allocations: 478.5 kB / 0.6768 GB, free: 1.758 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.6186, allocations: 6.02 MB / 0.6827 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/0.6208, allocations: 1.743 MB / 0.6844 GB, free: 9.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006659/0.6215, allocations: 139.4 kB / 0.6845 GB, free: 9.773 MB / 478.1 MB Notification: Performance of SimCode: time 1.963e-06/0.6215, allocations: 0 / 0.6845 GB, free: 9.773 MB / 478.1 MB Notification: Performance of Templates: time 0.3875/1.009, allocations: 132.1 MB / 0.8135 GB, free: 164.3 MB / 0.545 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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.21443161321804] Failed to read output from testmodel.py, exit status != 0: 1.0174573538824916 1.027661291 0.602417557 Calling exit ...