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.001643/0.001643, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.518/1.518, allocations: 230.6 MB / 253.4 MB, free: 8.289 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.002099/0.002099, allocations: 209.1 kB / 310 MB, free: 3.141 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.04338/0.04338, allocations: 8.918 MB / 375.3 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.002893/0.002893, allocations: 83.88 kB / 0.4904 GB, free: 6.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3871, allocations: 55.61 MB / 0.5447 GB, free: 27.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01324/0.4003, allocations: 13.88 MB / 0.5583 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00973/0.4101, allocations: 4.629 MB / 0.5628 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003367/0.4134, allocations: 112.1 kB / 0.5629 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.4168, allocations: 1.092 MB / 0.564 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.4216, allocations: 1.315 MB / 0.5653 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.424, allocations: 0.93 MB / 0.5662 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005697/0.4297, allocations: 4.091 MB / 0.5702 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.4328, allocations: 1.972 MB / 0.5721 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.4368, allocations: 1.986 MB / 0.574 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.4421, allocations: 2.288 MB / 0.5763 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.4436, allocations: 0.5251 MB / 0.5768 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.4463, allocations: 0.7524 MB / 0.5775 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.4473, allocations: 1.158 MB / 0.5787 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00381/0.4511, allocations: 2.183 MB / 0.5808 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.4616, allocations: 6.952 MB / 0.5876 GB, free: 15.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4616, allocations: 0 / 0.5876 GB, free: 15.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4616, allocations: 1.344 kB / 0.5876 GB, free: 15.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000236/0.4619, allocations: 0 / 0.5876 GB, free: 15.26 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.01675/0.4786, allocations: 4.491 MB / 0.592 GB, free: 12.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4787, allocations: 8.281 kB / 0.592 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.4838, allocations: 0.8275 MB / 0.5928 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007006/0.4908, allocations: 2.438 MB / 0.5952 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.491, allocations: 259.1 kB / 0.5954 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.4923, allocations: 331.9 kB / 0.5957 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.5031, allocations: 4.515 MB / 0.6001 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.361e-05/0.5032, allocations: 11.95 kB / 0.6001 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003635/0.5036, allocations: 132 kB / 0.6003 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.5037, allocations: 158.7 kB / 0.6004 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008133/0.5119, allocations: 3.813 MB / 0.6041 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03068/0.5426, allocations: 13.82 MB / 0.6176 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005131/0.5477, allocations: 2.407 MB / 0.62 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.5497, allocations: 1.108 MB / 0.6211 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006859/0.5566, allocations: 3.131 MB / 0.6241 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.5566, allocations: 43.56 kB / 0.6242 GB, free: 11.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.737e-06/0.5566, allocations: 0 / 0.6242 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01187/0.5685, allocations: 4.68 MB / 0.6287 GB, free: 6.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.5685, allocations: 64.41 kB / 0.6288 GB, free: 6.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/0.5716, allocations: 1.707 MB / 0.6305 GB, free: 4.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.5718, allocations: 45.7 kB / 0.6305 GB, free: 4.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.5731, allocations: 1.543 MB / 0.632 GB, free: 2.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/0.5736, allocations: 444.3 kB / 0.6324 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/0.5741, allocations: 291.4 kB / 0.6327 GB, free: 2.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5743, allocations: 301.1 kB / 0.633 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.5754, allocations: 0.6246 MB / 0.6336 GB, free: 1.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.5769, allocations: 1.131 MB / 0.6347 GB, free: 15.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.5797, allocations: 1.884 MB / 0.6366 GB, free: 13.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.5797, allocations: 8 kB / 0.6366 GB, free: 13.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00402/0.5837, allocations: 2.123 MB / 0.6386 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.5838, allocations: 12.38 kB / 0.6387 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.5838, allocations: 20 kB / 0.6387 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.5842, allocations: 134.5 kB / 0.6388 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.5857, allocations: 403.3 kB / 0.6392 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.5888, allocations: 3.166 MB / 0.6423 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.5905, allocations: 67.97 kB / 0.6423 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.5906, allocations: 71.98 kB / 0.6424 GB, free: 7.637 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.002453/0.5931, allocations: 1.044 MB / 0.6434 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005129/0.5936, allocations: 190.8 kB / 0.6436 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.5976, allocations: 1.88 MB / 0.6455 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.5976, allocations: 16 kB / 0.6455 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.5976, allocations: 12.06 kB / 0.6455 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.5976, allocations: 3.984 kB / 0.6455 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008941/0.6066, allocations: 4.616 MB / 0.65 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.6066, allocations: 4 kB / 0.65 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.6073, allocations: 167.7 kB / 0.6502 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.6085, allocations: 448.1 kB / 0.6506 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.979e-05/0.6086, allocations: 35.98 kB / 0.6506 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.6201, allocations: 10.54 MB / 0.6609 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6201, allocations: 4.062 kB / 0.6609 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005181/0.6253, allocations: 2.723 MB / 0.6636 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.6265, allocations: 330.6 kB / 0.6639 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.6268, allocations: 35.98 kB / 0.6639 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/0.6276, allocations: 59.95 kB / 0.664 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.6279, allocations: 104.7 kB / 0.6641 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/0.628, allocations: 36.12 kB / 0.6641 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001932/0.6299, allocations: 1.167 MB / 0.6652 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6299, allocations: 0 / 0.6652 GB, free: 15.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002382/0.6323, allocations: 0.5507 MB / 0.6658 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.0003689/0.6327, allocations: 163.3 kB / 0.6659 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003276/0.636, allocations: 1.695 MB / 0.6676 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.636, allocations: 448 / 0.6676 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.6384, allocations: 1.45 MB / 0.669 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.002782/0.6411, allocations: 0.5368 MB / 0.6695 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.653, allocations: 5.744 MB / 0.6751 GB, free: 5.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/0.6554, allocations: 2.316 MB / 0.6774 GB, free: 2.875 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006523/0.6561, allocations: 143.4 kB / 0.6775 GB, free: 2.734 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6561, allocations: 4 kB / 0.6775 GB, free: 2.73 MB / 478.1 MB Notification: Performance of Templates: time 0.4287/1.085, allocations: 106.4 MB / 0.7815 GB, free: 55.94 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: 15.48259137198329] Failed to read output from testmodel.py, exit status != 0: 1.0953368959017098 1.104081332 0.639920242 Calling exit ...