Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001874/0.001874, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] 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.002228/0.002228, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 51.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2057, allocations: 53.36 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01521/0.2209, allocations: 11.79 MB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008717/0.2297, allocations: 4.26 MB / 448.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.2315, allocations: 99.38 kB / 448.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.2342, allocations: 0.9747 MB / 449.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.2378, allocations: 1.289 MB / 450.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.2398, allocations: 0.8729 MB / 451.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004754/0.2446, allocations: 3.939 MB / 455.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.2471, allocations: 1.788 MB / 457.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.2497, allocations: 1.901 MB / 459.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.2527, allocations: 2.211 MB / 461.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007151/0.2534, allocations: 0.5 MB / 462 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.2548, allocations: 0.7145 MB / 462.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.2558, allocations: 1.106 MB / 463.8 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.2578, allocations: 1.642 MB / 465.4 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007603/0.2654, allocations: 6.681 MB / 472.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2654, allocations: 0 / 472.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2654, allocations: 4 kB / 472.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.138e-05/0.2655, allocations: 0 / 472.1 MB, free: 14.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01084/0.2764, allocations: 4.338 MB / 476.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2764, allocations: 8.031 kB / 476.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/0.2809, allocations: 0.8066 MB / 477.3 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/0.2859, allocations: 2.341 MB / 479.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.2861, allocations: 234.2 kB / 479.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005871/0.2867, allocations: 315.9 kB / 480.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007817/0.2945, allocations: 4.377 MB / 484.5 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.781e-05/0.2946, allocations: 4 kB / 484.5 MB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.2949, allocations: 128 kB / 484.7 MB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.2951, allocations: 154.3 kB / 484.8 MB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00658/0.3017, allocations: 3.601 MB / 488.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.3217, allocations: 11.19 MB / 499.6 MB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/0.3271, allocations: 2.645 MB / 0.4905 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/0.3301, allocations: 1.508 MB / 0.4919 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006913/0.337, allocations: 3.333 MB / 0.4952 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.3371, allocations: 51.5 kB / 0.4953 GB, free: 11.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.557e-06/0.3371, allocations: 0 / 0.4953 GB, free: 11.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01123/0.3483, allocations: 4.967 MB / 0.5001 GB, free: 6.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.3484, allocations: 68.34 kB / 0.5002 GB, free: 6.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.3506, allocations: 1.529 MB / 0.5017 GB, free: 4.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.537e-05/0.3507, allocations: 49.7 kB / 0.5017 GB, free: 4.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.3518, allocations: 1.453 MB / 0.5031 GB, free: 3.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.3522, allocations: 460.1 kB / 0.5036 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004726/0.3526, allocations: 283.5 kB / 0.5038 GB, free: 2.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3528, allocations: 301.1 kB / 0.5041 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.3539, allocations: 0.6598 MB / 0.5048 GB, free: 1.469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.3555, allocations: 1.15 MB / 0.5059 GB, free: 116 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.3584, allocations: 1.902 MB / 0.5077 GB, free: 14.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.3584, allocations: 4 kB / 0.5078 GB, free: 14.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004208/0.3626, allocations: 2.312 MB / 0.51 GB, free: 11.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3626, allocations: 12 kB / 0.51 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.3626, allocations: 19.94 kB / 0.51 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008584/0.3635, allocations: 315.3 kB / 0.5103 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.3649, allocations: 351.4 kB / 0.5107 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006619/0.3715, allocations: 6.194 MB / 0.5167 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.3727, allocations: 67.92 kB / 0.5168 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.3729, allocations: 71.98 kB / 0.5169 GB, free: 4.344 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001739/0.3746, allocations: 1.005 MB / 0.5178 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.3749, allocations: 174.9 kB / 0.518 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.3791, allocations: 2.026 MB / 0.52 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.3791, allocations: 7.984 kB / 0.52 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3791, allocations: 0 / 0.52 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/0.3799, allocations: 330.6 kB / 0.5203 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.3802, allocations: 28 kB / 0.5203 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008001/0.381, allocations: 55.95 kB / 0.5204 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.3812, allocations: 120.7 kB / 0.5205 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004637/0.3858, allocations: 2.098 MB / 0.5226 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003716/0.3895, allocations: 2.386 MB / 0.5249 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001067/0.3906, allocations: 0.6597 MB / 0.5255 GB, free: 11.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001556/0.3922, allocations: 1.029 MB / 0.5265 GB, free: 10.36 MB / 446.1 MB Notification: Performance of Backend: time 4.01e-07/0.3922, allocations: 4 kB / 0.5265 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.3956, allocations: 1.652 MB / 0.5281 GB, free: 8.66 MB / 446.1 MB Notification: Performance of SimCode: time 0.009639/0.4053, allocations: 6.157 MB / 0.5342 GB, free: 2.445 MB / 446.1 MB Notification: Performance of Templates: time 0.2112/0.6165, allocations: 34.21 MB / 0.5676 GB, free: 79.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.685757938001188] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'loadInertia.phi', 'loadInertia.w', 'vfController.x'] 0.6245835900044767 0.633773307 0.366026797 Calling exit ...