Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.001407/0.001407, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.481/1.481, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.00209/0.00209, allocations: 207.7 kB / 309.2 MB, free: 3.145 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.04337/0.04337, allocations: 8.923 MB / 374.6 MB, free: 1.891 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_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") [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.002825/0.002825, allocations: 87.88 kB / 0.4897 GB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3473, allocations: 55.6 MB / 0.544 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01315/0.3605, allocations: 13.87 MB / 0.5575 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.3725, allocations: 4.633 MB / 0.5621 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/0.3764, allocations: 111.4 kB / 0.5622 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.3805, allocations: 1.09 MB / 0.5632 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005506/0.386, allocations: 1.314 MB / 0.5645 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.389, allocations: 0.9305 MB / 0.5654 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005617/0.3946, allocations: 4.102 MB / 0.5694 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.3974, allocations: 1.968 MB / 0.5714 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.4011, allocations: 1.992 MB / 0.5733 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004392/0.4055, allocations: 2.284 MB / 0.5755 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.4067, allocations: 0.5244 MB / 0.576 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.4089, allocations: 0.7527 MB / 0.5768 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.4099, allocations: 1.156 MB / 0.5779 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002914/0.4128, allocations: 2.19 MB / 0.58 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009076/0.4219, allocations: 6.943 MB / 0.5868 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4219, allocations: 0 / 0.5868 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4219, allocations: 0 / 0.5868 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002044/0.4221, allocations: 0 / 0.5868 GB, free: 15.29 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01818/0.4403, allocations: 4.491 MB / 0.5912 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.4404, allocations: 13.31 kB / 0.5912 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005768/0.4461, allocations: 0.8179 MB / 0.592 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/0.4539, allocations: 2.446 MB / 0.5944 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.4542, allocations: 251.1 kB / 0.5946 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.4556, allocations: 343.9 kB / 0.595 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.4666, allocations: 4.504 MB / 0.5994 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.912e-05/0.4667, allocations: 7.891 kB / 0.5994 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000376/0.4671, allocations: 136 kB / 0.5995 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.4673, allocations: 162.7 kB / 0.5997 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008714/0.476, allocations: 3.817 MB / 0.6034 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03044/0.5064, allocations: 13.82 MB / 0.6169 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005574/0.512, allocations: 2.412 MB / 0.6192 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.5141, allocations: 1.099 MB / 0.6203 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006742/0.5208, allocations: 3.131 MB / 0.6234 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.5209, allocations: 43.56 kB / 0.6234 GB, free: 11.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 5.651e-06/0.5209, allocations: 11.98 kB / 0.6234 GB, free: 11.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01252/0.5334, allocations: 4.672 MB / 0.628 GB, free: 6.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.5334, allocations: 64.41 kB / 0.6281 GB, free: 6.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.5367, allocations: 1.699 MB / 0.6297 GB, free: 4.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.5369, allocations: 49.7 kB / 0.6298 GB, free: 4.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.5385, allocations: 1.547 MB / 0.6313 GB, free: 2.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000544/0.5391, allocations: 440.3 kB / 0.6317 GB, free: 2.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/0.5396, allocations: 287.5 kB / 0.632 GB, free: 2.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5398, allocations: 301.1 kB / 0.6323 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.5411, allocations: 0.6285 MB / 0.6329 GB, free: 1.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.5428, allocations: 1.139 MB / 0.634 GB, free: 15.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/0.546, allocations: 1.876 MB / 0.6358 GB, free: 13.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.5461, allocations: 4 kB / 0.6358 GB, free: 13.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00468/0.5507, allocations: 2.135 MB / 0.6379 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.5508, allocations: 12 kB / 0.6379 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.5508, allocations: 16 kB / 0.6379 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004756/0.5513, allocations: 138.9 kB / 0.6381 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.553, allocations: 387.4 kB / 0.6384 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/0.5571, allocations: 3.181 MB / 0.6415 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.5589, allocations: 63.97 kB / 0.6416 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.559, allocations: 76.11 kB / 0.6417 GB, free: 7.633 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002816/0.5619, allocations: 1.045 MB / 0.6427 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006277/0.5625, allocations: 194.8 kB / 0.6429 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.5668, allocations: 1.876 MB / 0.6447 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5668, allocations: 12 kB / 0.6447 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.5668, allocations: 11.94 kB / 0.6447 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.5668, allocations: 3.984 kB / 0.6447 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009964/0.5768, allocations: 4.62 MB / 0.6492 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.5768, allocations: 4.031 kB / 0.6492 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.5775, allocations: 159.8 kB / 0.6494 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.5788, allocations: 440.6 kB / 0.6498 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.5789, allocations: 35.98 kB / 0.6499 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/0.5915, allocations: 10.54 MB / 0.6602 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.5915, allocations: 7.969 kB / 0.6602 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005533/0.5971, allocations: 2.724 MB / 0.6628 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.5985, allocations: 338.6 kB / 0.6631 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.5988, allocations: 32 kB / 0.6632 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/0.5996, allocations: 55.95 kB / 0.6632 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/0.6, allocations: 108.7 kB / 0.6633 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.6001, allocations: 35.98 kB / 0.6634 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002257/0.6023, allocations: 1.163 MB / 0.6645 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6023, allocations: 0 / 0.6645 GB, free: 15.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002847/0.6052, allocations: 0.5546 MB / 0.665 GB, free: 14.95 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0004552/0.6056, allocations: 163.6 kB / 0.6652 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003637/0.6093, allocations: 1.699 MB / 0.6669 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.6093, allocations: 0 / 0.6669 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.6118, allocations: 1.435 MB / 0.6683 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/0.6147, allocations: 0.5454 MB / 0.6688 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.6274, allocations: 5.768 MB / 0.6744 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/0.6301, allocations: 2.374 MB / 0.6767 GB, free: 2.797 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001591/0.6317, allocations: 388.1 kB / 0.6771 GB, free: 2.414 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.6321, allocations: 127.4 kB / 0.6772 GB, free: 2.289 MB / 478.1 MB Notification: Performance of SimCode: time 2.254e-06/0.6321, allocations: 0 / 0.6772 GB, free: 2.289 MB / 478.1 MB Notification: Performance of Templates: time 0.3623/0.9943, allocations: 29.89 MB / 0.7064 GB, free: 111.7 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.650675610173494] Failed to read output from testmodel.py, exit status != 0: 1.0048593650572002 1.016583277 0.591598257 Calling exit ...