Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.001584/0.001584, 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.551/1.551, allocations: 230.6 MB / 252.6 MB, free: 8.324 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.001764/0.001764, allocations: 222.5 kB / 309.2 MB, free: 3.203 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.04362/0.04362, allocations: 8.893 MB / 374.6 MB, free: 1.969 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_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") [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.002787/0.002787, allocations: 87.94 kB / 0.4897 GB, free: 4.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1495, allocations: 55.62 MB / 0.544 GB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.0185/0.168, allocations: 13.88 MB / 0.5576 GB, free: 6.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.1791, allocations: 4.634 MB / 0.5621 GB, free: 1.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00324/0.1824, allocations: 107.3 kB / 0.5622 GB, free: 1.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.1862, allocations: 1.091 MB / 0.5633 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005288/0.1915, allocations: 1.324 MB / 0.5646 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.1941, allocations: 0.9307 MB / 0.5655 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006728/0.2009, allocations: 4.086 MB / 0.5695 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.2048, allocations: 1.969 MB / 0.5714 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.2089, allocations: 1.994 MB / 0.5733 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.2138, allocations: 2.285 MB / 0.5756 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.2149, allocations: 0.5273 MB / 0.5761 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.217, allocations: 0.742 MB / 0.5768 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.2182, allocations: 1.161 MB / 0.5779 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003062/0.2212, allocations: 2.186 MB / 0.5801 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009648/0.2309, allocations: 6.949 MB / 0.5869 GB, free: 8.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2309, allocations: 0 / 0.5869 GB, free: 8.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.2309, allocations: 4 kB / 0.5869 GB, free: 8.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002258/0.2311, allocations: 4 kB / 0.5869 GB, free: 8.426 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.01319/0.2443, allocations: 4.483 MB / 0.5912 GB, free: 3.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2444, allocations: 8.031 kB / 0.5913 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/0.2485, allocations: 0.8338 MB / 0.5921 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005347/0.2538, allocations: 2.442 MB / 0.5945 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.254, allocations: 255.1 kB / 0.5947 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005734/0.2546, allocations: 332 kB / 0.595 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008334/0.263, allocations: 4.511 MB / 0.5994 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-05/0.263, allocations: 7.953 kB / 0.5994 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.2633, allocations: 135.9 kB / 0.5996 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.2635, allocations: 162.7 kB / 0.5997 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007117/0.2706, allocations: 3.809 MB / 0.6034 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02762/0.2982, allocations: 13.82 MB / 0.6169 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/0.3031, allocations: 2.422 MB / 0.6193 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.3051, allocations: 1.104 MB / 0.6204 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00625/0.3114, allocations: 3.128 MB / 0.6234 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.3114, allocations: 47.56 kB / 0.6235 GB, free: 2.461 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 2.845e-06/0.3114, allocations: 0 / 0.6235 GB, free: 2.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01127/0.3227, allocations: 4.68 MB / 0.628 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.3227, allocations: 68.41 kB / 0.6281 GB, free: 13.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.3258, allocations: 1.699 MB / 0.6298 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.326, allocations: 45.7 kB / 0.6298 GB, free: 11.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.3274, allocations: 1.543 MB / 0.6313 GB, free: 10.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.3278, allocations: 440.3 kB / 0.6317 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004586/0.3283, allocations: 287.5 kB / 0.632 GB, free: 9.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3284, allocations: 301.1 kB / 0.6323 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3296, allocations: 0.6286 MB / 0.6329 GB, free: 8.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.3312, allocations: 1.135 MB / 0.634 GB, free: 7.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.3342, allocations: 1.88 MB / 0.6359 GB, free: 5.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3342, allocations: 4 kB / 0.6359 GB, free: 5.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004049/0.3382, allocations: 2.131 MB / 0.6379 GB, free: 3.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.3383, allocations: 12 kB / 0.638 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.3383, allocations: 16 kB / 0.638 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.3387, allocations: 138.5 kB / 0.6381 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.3402, allocations: 399.4 kB / 0.6385 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.3435, allocations: 3.173 MB / 0.6416 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.345, allocations: 67.97 kB / 0.6416 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.3453, allocations: 71.98 kB / 0.6417 GB, free: 14.97 MB / 462.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.002409/0.3477, allocations: 1.044 MB / 0.6427 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006023/0.3483, allocations: 190.8 kB / 0.6429 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/0.3526, allocations: 1.88 MB / 0.6447 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.3526, allocations: 16.11 kB / 0.6448 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.561e-05/0.3526, allocations: 15.94 kB / 0.6448 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.3526, allocations: 7.969 kB / 0.6448 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009833/0.3625, allocations: 4.612 MB / 0.6493 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.3625, allocations: 4 kB / 0.6493 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/0.3633, allocations: 163.8 kB / 0.6494 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.3645, allocations: 444.1 kB / 0.6499 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.136e-05/0.3646, allocations: 31.98 kB / 0.6499 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2886/0.6532, allocations: 10.53 MB / 0.6602 GB, free: 94.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.6532, allocations: 6.438 kB / 0.6602 GB, free: 94.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005396/0.6586, allocations: 2.721 MB / 0.6629 GB, free: 93.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.6598, allocations: 337.1 kB / 0.6632 GB, free: 93.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.66, allocations: 31.97 kB / 0.6632 GB, free: 93.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009241/0.661, allocations: 61.38 kB / 0.6633 GB, free: 93.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/0.6614, allocations: 99.91 kB / 0.6634 GB, free: 93.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.6615, allocations: 37.22 kB / 0.6634 GB, free: 93.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002552/0.664, allocations: 1.166 MB / 0.6645 GB, free: 93.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.664, allocations: 0 / 0.6645 GB, free: 93.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002675/0.6667, allocations: 0.5469 MB / 0.6651 GB, free: 93.13 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.0003779/0.6671, allocations: 169.9 kB / 0.6652 GB, free: 93.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00341/0.6705, allocations: 1.693 MB / 0.6669 GB, free: 92.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6705, allocations: 1.188 kB / 0.6669 GB, free: 92.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.6729, allocations: 1.437 MB / 0.6683 GB, free: 91.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.6757, allocations: 0.5448 MB / 0.6688 GB, free: 91.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.6862, allocations: 5.786 MB / 0.6745 GB, free: 88.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.688, allocations: 2.367 MB / 0.6768 GB, free: 87.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001504/0.6895, allocations: 395.2 kB / 0.6772 GB, free: 87.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.6898, allocations: 133.8 kB / 0.6773 GB, free: 87.13 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6898, allocations: 0 / 0.6773 GB, free: 87.13 MB / 462.1 MB Notification: Performance of Templates: time 0.04932/0.7391, allocations: 29.9 MB / 0.7065 GB, free: 62.88 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.72963959001936] Failed to read output from testmodel.py, exit status != 0: 0.7492745029740036 0.7576486689999999 0.524302725 Calling exit ...