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.001505/0.001505, 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.625/1.625, allocations: 177.2 MB / 200.1 MB, free: 9.457 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.001927/0.001927, allocations: 172.9 kB / 256.6 MB, free: 0.8945 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.04008/0.04008, allocations: 6.663 MB / 319.6 MB, free: 12.04 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.003058/0.003058, allocations: 87.88 kB / 446.4 MB, free: 2.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4752, allocations: 55.58 MB / 0.4902 GB, free: 76.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01244/0.4877, allocations: 12.04 MB / 0.502 GB, free: 68.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009514/0.4972, allocations: 4.361 MB / 0.5063 GB, free: 65.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.5005, allocations: 111.9 kB / 0.5064 GB, free: 65.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003728/0.5042, allocations: 1.035 MB / 0.5074 GB, free: 64.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.5096, allocations: 1.294 MB / 0.5086 GB, free: 63.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.5122, allocations: 0.8879 MB / 0.5095 GB, free: 63.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005131/0.5173, allocations: 4.092 MB / 0.5135 GB, free: 61.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.5202, allocations: 1.891 MB / 0.5153 GB, free: 60.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.5236, allocations: 1.995 MB / 0.5173 GB, free: 59.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004037/0.5277, allocations: 2.154 MB / 0.5194 GB, free: 58.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.529, allocations: 0.5239 MB / 0.5199 GB, free: 58.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.5312, allocations: 0.73 MB / 0.5206 GB, free: 58.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009337/0.5321, allocations: 1.153 MB / 0.5217 GB, free: 57.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.5346, allocations: 1.725 MB / 0.5234 GB, free: 56.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0086/0.5432, allocations: 6.966 MB / 0.5302 GB, free: 53.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5432, allocations: 0 / 0.5302 GB, free: 53.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5432, allocations: 0 / 0.5302 GB, free: 53.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002139/0.5434, allocations: 4 kB / 0.5302 GB, free: 53.84 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01732/0.5607, allocations: 4.485 MB / 0.5346 GB, free: 51.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.194e-05/0.5608, allocations: 9.688 kB / 0.5346 GB, free: 51.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005974/0.5668, allocations: 0.8295 MB / 0.5354 GB, free: 51.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007267/0.5741, allocations: 2.422 MB / 0.5378 GB, free: 49.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.5743, allocations: 250 kB / 0.538 GB, free: 49.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.5754, allocations: 339.4 kB / 0.5384 GB, free: 49.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.5899, allocations: 4.659 MB / 0.5429 GB, free: 47.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.59, allocations: 9.297 kB / 0.5429 GB, free: 47.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004597/0.5905, allocations: 137.3 kB / 0.5431 GB, free: 47.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/0.5907, allocations: 157.4 kB / 0.5432 GB, free: 47.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009965/0.6007, allocations: 3.814 MB / 0.5469 GB, free: 45.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.6247, allocations: 12.08 MB / 0.5587 GB, free: 37.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005037/0.6297, allocations: 2.405 MB / 0.5611 GB, free: 35.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.6318, allocations: 1.1 MB / 0.5621 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005513/0.6373, allocations: 2.785 MB / 0.5649 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.6373, allocations: 55.56 kB / 0.5649 GB, free: 32.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.376e-06/0.6373, allocations: 0 / 0.5649 GB, free: 32.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=118): time 0.01004/0.6474, allocations: 4.653 MB / 0.5695 GB, free: 28.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.6474, allocations: 64.41 kB / 0.5695 GB, free: 28.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.6496, allocations: 1.51 MB / 0.571 GB, free: 26.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.6498, allocations: 53.64 kB / 0.571 GB, free: 26.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007197/0.6505, allocations: 1.542 MB / 0.5726 GB, free: 24.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.6507, allocations: 444.3 kB / 0.573 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.6511, allocations: 295.4 kB / 0.5733 GB, free: 24.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.6512, allocations: 305.1 kB / 0.5736 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008603/0.652, allocations: 0.6286 MB / 0.5742 GB, free: 23.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.6531, allocations: 1.156 MB / 0.5753 GB, free: 21.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.6552, allocations: 1.873 MB / 0.5771 GB, free: 19.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.6552, allocations: 8 kB / 0.5771 GB, free: 19.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003014/0.6582, allocations: 2.115 MB / 0.5792 GB, free: 17.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.6582, allocations: 12 kB / 0.5792 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.6582, allocations: 16 kB / 0.5792 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.6586, allocations: 130.5 kB / 0.5793 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.6599, allocations: 395.5 kB / 0.5797 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.6618, allocations: 3.117 MB / 0.5828 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.6633, allocations: 71.91 kB / 0.5828 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.6634, allocations: 68 kB / 0.5829 GB, free: 13.59 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.001813/0.6652, allocations: 1.054 MB / 0.5839 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.6655, allocations: 179 kB / 0.5841 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.6687, allocations: 1.87 MB / 0.5859 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6687, allocations: 15.98 kB / 0.5859 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.6687, allocations: 8 kB / 0.586 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.6687, allocations: 3.984 kB / 0.586 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006909/0.6756, allocations: 3.9 MB / 0.5898 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.6756, allocations: 8.031 kB / 0.5898 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.6763, allocations: 163.8 kB / 0.5899 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.6773, allocations: 439.9 kB / 0.5903 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.6774, allocations: 35.98 kB / 0.5904 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009143/0.6865, allocations: 10.34 MB / 0.6005 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6865, allocations: 8 kB / 0.6005 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/0.6919, allocations: 2.695 MB / 0.6031 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.6931, allocations: 310.7 kB / 0.6034 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/0.6936, allocations: 28 kB / 0.6034 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6947, allocations: 63.95 kB / 0.6035 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/0.695, allocations: 100.8 kB / 0.6036 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6951, allocations: 36.03 kB / 0.6036 GB, free: 7.688 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002044/0.6972, allocations: 1.014 MB / 0.6046 GB, free: 6.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6972, allocations: 0 / 0.6046 GB, free: 6.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0027/0.6999, allocations: 0.5429 MB / 0.6051 GB, free: 6.133 MB / 462.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.0004036/0.7003, allocations: 163.5 kB / 0.6053 GB, free: 5.965 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003296/0.7036, allocations: 1.705 MB / 0.607 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7036, allocations: 0 / 0.607 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.7061, allocations: 1.43 MB / 0.6084 GB, free: 2.738 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.7088, allocations: 455.6 kB / 0.6088 GB, free: 2.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.7211, allocations: 5.735 MB / 0.6144 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003271/0.7243, allocations: 1.816 MB / 0.6162 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001435/0.7258, allocations: 362.6 kB / 0.6165 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.7262, allocations: 112.5 kB / 0.6166 GB, free: 10.19 MB / 478.1 MB Notification: Performance of SimCode: time 1.041e-06/0.7262, allocations: 0 / 0.6166 GB, free: 10.19 MB / 478.1 MB Notification: Performance of Templates: time 0.05097/0.7771, allocations: 25.6 MB / 0.6416 GB, free: 0.9258 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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7895828009350225] Failed to read output from testmodel.py, exit status != 0: 0.7882385549601167 0.802818056 0.256151746 Calling exit ...