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.001398/0.001398, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.363/1.363, allocations: 177.2 MB / 199.4 MB, free: 8.441 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.001808/0.001808, allocations: 156.2 kB / 256 MB, free: 4.32 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.03982/0.03982, allocations: 6.657 MB / 319 MB, free: 5.383 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.585e-05, allocations: 5.234 kB / 445.9 MB, free: 25.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.009777/0.009803, allocations: 12.06 MB / 458 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.01649, allocations: 4.376 MB / 462.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.01874, allocations: 111.3 kB / 462.4 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.02135, allocations: 1.044 MB / 463.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.02508, allocations: 1.327 MB / 464.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.02726, allocations: 0.8902 MB / 465.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004451/0.03171, allocations: 4.289 MB / 470 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/0.03504, allocations: 1.898 MB / 471.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/0.03942, allocations: 2.909 MB / 474.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.04203, allocations: 1.804 MB / 476.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006495/0.04268, allocations: 0.5234 MB / 477.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.044, allocations: 0.7417 MB / 477.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.04504, allocations: 1.176 MB / 479 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.0468, allocations: 1.481 MB / 480.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1881/0.2349, allocations: 6.994 MB / 487.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2349, allocations: 0.6875 kB / 487.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2349, allocations: 1.156 kB / 487.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000209/0.2351, allocations: 0.5625 kB / 487.5 MB, free: 26.09 MB / 350.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.01269/0.2478, allocations: 4.453 MB / 492 MB, free: 24.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2479, allocations: 13.58 kB / 492 MB, free: 24.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/0.2526, allocations: 0.8207 MB / 492.8 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004747/0.2573, allocations: 2.425 MB / 495.2 MB, free: 23.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.2575, allocations: 249.9 kB / 495.5 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005831/0.2581, allocations: 335 kB / 495.8 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007667/0.2657, allocations: 4.663 MB / 0.4887 GB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/0.2658, allocations: 2 kB / 0.4887 GB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/0.2661, allocations: 141.6 kB / 0.4889 GB, free: 23.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001862/0.2663, allocations: 159.4 kB / 0.489 GB, free: 23.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005917/0.2722, allocations: 3.813 MB / 0.4928 GB, free: 21.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.289, allocations: 12.09 MB / 0.5046 GB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/0.2934, allocations: 2.386 MB / 0.5069 GB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.295, allocations: 1.111 MB / 0.508 GB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004617/0.2996, allocations: 2.773 MB / 0.5107 GB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2996, allocations: 59.55 kB / 0.5107 GB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 2.985e-06/0.2996, allocations: 0 / 0.5107 GB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.008653/0.3083, allocations: 4.653 MB / 0.5153 GB, free: 4.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.3083, allocations: 64.41 kB / 0.5153 GB, free: 4.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.3099, allocations: 1.514 MB / 0.5168 GB, free: 3.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.31, allocations: 45.7 kB / 0.5169 GB, free: 3.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005732/0.3106, allocations: 1.542 MB / 0.5184 GB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.3107, allocations: 436.8 kB / 0.5188 GB, free: 1.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.3111, allocations: 291.4 kB / 0.5191 GB, free: 0.8164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.3111, allocations: 305.1 kB / 0.5194 GB, free: 0.5156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008895/0.312, allocations: 0.6246 MB / 0.52 GB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.3136, allocations: 1.168 MB / 0.5211 GB, free: 14.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.3164, allocations: 1.869 MB / 0.5229 GB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.3164, allocations: 4 kB / 0.5229 GB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003515/0.3199, allocations: 2.105 MB / 0.525 GB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.3199, allocations: 12 kB / 0.525 GB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.32, allocations: 20.81 kB / 0.525 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.3204, allocations: 142 kB / 0.5252 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.3219, allocations: 396.4 kB / 0.5255 GB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.3247, allocations: 3.103 MB / 0.5286 GB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.3258, allocations: 75.91 kB / 0.5286 GB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.3259, allocations: 68 kB / 0.5287 GB, free: 6.48 MB / 366.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.001768/0.3277, allocations: 1.045 MB / 0.5297 GB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.3279, allocations: 185.9 kB / 0.5299 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.3316, allocations: 1.862 MB / 0.5317 GB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3316, allocations: 12 kB / 0.5317 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.3316, allocations: 8 kB / 0.5317 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3316, allocations: 3.984 kB / 0.5317 GB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006907/0.3385, allocations: 3.91 MB / 0.5356 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3385, allocations: 4.125 kB / 0.5356 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.3393, allocations: 163.2 kB / 0.5357 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.3407, allocations: 443.5 kB / 0.5361 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.3408, allocations: 35.98 kB / 0.5362 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.352, allocations: 10.33 MB / 0.5463 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.352, allocations: 4.031 kB / 0.5463 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/0.357, allocations: 2.69 MB / 0.5489 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008866/0.3578, allocations: 310.7 kB / 0.5492 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.3581, allocations: 42.77 kB / 0.5492 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008045/0.3589, allocations: 55.95 kB / 0.5493 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.3592, allocations: 104.6 kB / 0.5494 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/0.3592, allocations: 35.98 kB / 0.5494 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001564/0.3608, allocations: 1.006 MB / 0.5504 GB, free: 15.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3608, allocations: 0 / 0.5504 GB, free: 15.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002009/0.3628, allocations: 0.543 MB / 0.5509 GB, free: 15.26 MB / 398.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.000343/0.3632, allocations: 163.2 kB / 0.5511 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.3665, allocations: 1.699 MB / 0.5527 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3665, allocations: 1.875 kB / 0.5527 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.3691, allocations: 1.439 MB / 0.5542 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.3716, allocations: 456.3 kB / 0.5546 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.3816, allocations: 5.534 MB / 0.56 GB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.3838, allocations: 1.819 MB / 0.5618 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001137/0.3849, allocations: 362.6 kB / 0.5621 GB, free: 3.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.3852, allocations: 116.5 kB / 0.5622 GB, free: 3.602 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3852, allocations: 0 / 0.5622 GB, free: 3.602 MB / 398.1 MB Notification: Performance of Templates: time 0.0487/0.4339, allocations: 25.4 MB / 0.587 GB, free: 10.64 MB / 430.1 MB " [Timeout remaining time 660] 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: 5.744514431804419] Failed to read output from testmodel.py, exit status != 0: 0.4420544132590294 0.457058919 0.219061902 Calling exit ...