Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.81 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2114, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01582/0.2272, allocations: 13.57 MB / 445.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.2339, allocations: 4.522 MB / 450.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007052/0.2346, allocations: 79.69 kB / 450.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.2367, allocations: 1.041 MB / 451.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.2391, allocations: 1.289 MB / 452.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.2409, allocations: 0.8906 MB / 453.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.2451, allocations: 3.933 MB / 457.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.2476, allocations: 1.784 MB / 459.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.2498, allocations: 1.865 MB / 461 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.2528, allocations: 2.211 MB / 463.3 MB, free: 8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006245/0.2534, allocations: 0.5 MB / 463.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.2546, allocations: 0.7224 MB / 464.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.2556, allocations: 1.118 MB / 465.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002048/0.2577, allocations: 2.077 MB / 467.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006632/0.2643, allocations: 6.654 MB / 474.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2643, allocations: 3.938 kB / 474.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.2643, allocations: 0 / 474.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.327e-05/0.2644, allocations: 0 / 474.3 MB, free: 12.89 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.009721/0.2741, allocations: 4.413 MB / 478.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2741, allocations: 8.031 kB / 478.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004061/0.2782, allocations: 0.8066 MB / 479.6 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004304/0.2825, allocations: 2.42 MB / 482 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.2827, allocations: 242.2 kB / 482.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004859/0.2832, allocations: 312 kB / 482.5 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006854/0.29, allocations: 4.234 MB / 486.8 MB, free: 288 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.476e-05/0.2901, allocations: 0 / 486.8 MB, free: 288 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003128/0.2904, allocations: 131.9 kB / 486.9 MB, free: 156 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.2906, allocations: 150.3 kB / 487 MB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006188/0.2967, allocations: 3.612 MB / 490.6 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/0.316, allocations: 13.14 MB / 0.492 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007711/0.3237, allocations: 7.05 MB / 0.4989 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.3267, allocations: 1.516 MB / 0.5003 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006687/0.3334, allocations: 4.206 MB / 0.5044 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3334, allocations: 43.56 kB / 0.5045 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.295e-06/0.3334, allocations: 0 / 0.5045 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01089/0.3443, allocations: 5.596 MB / 0.51 GB, free: 11.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3443, allocations: 64.41 kB / 0.51 GB, free: 11.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.3467, allocations: 1.722 MB / 0.5117 GB, free: 9.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.933e-05/0.3468, allocations: 49.7 kB / 0.5117 GB, free: 9.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.3479, allocations: 1.458 MB / 0.5132 GB, free: 7.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/0.3483, allocations: 452.1 kB / 0.5136 GB, free: 7.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004606/0.3488, allocations: 287.5 kB / 0.5139 GB, free: 7.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3489, allocations: 301.1 kB / 0.5142 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.3501, allocations: 0.6597 MB / 0.5148 GB, free: 6.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.3516, allocations: 1.125 MB / 0.5159 GB, free: 4.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.3545, allocations: 1.902 MB / 0.5178 GB, free: 2.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3545, allocations: 4 kB / 0.5178 GB, free: 2.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004042/0.3585, allocations: 2.403 MB / 0.5201 GB, free: 300 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3585, allocations: 19.97 kB / 0.5201 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.3586, allocations: 16 kB / 0.5201 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007912/0.3594, allocations: 311.2 kB / 0.5204 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.3607, allocations: 351.4 kB / 0.5208 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00688/0.3676, allocations: 6.627 MB / 0.5273 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.3686, allocations: 71.91 kB / 0.5273 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.3687, allocations: 79.92 kB / 0.5274 GB, free: 8.402 MB / 446.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.001519/0.3702, allocations: 1.001 MB / 0.5284 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.3705, allocations: 190.8 kB / 0.5286 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.3745, allocations: 2.194 MB / 0.5307 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.3745, allocations: 7.969 kB / 0.5307 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3746, allocations: 192 / 0.5307 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007646/0.3753, allocations: 419.7 kB / 0.5311 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.3755, allocations: 31.94 kB / 0.5311 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008333/0.3764, allocations: 67.94 kB / 0.5312 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.3766, allocations: 108.8 kB / 0.5313 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004662/0.3813, allocations: 2.102 MB / 0.5334 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1747/0.556, allocations: 2.408 MB / 0.5357 GB, free: 99.73 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001381/0.5574, allocations: 0.6506 MB / 0.5363 GB, free: 99.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002041/0.5594, allocations: 1.188 MB / 0.5375 GB, free: 99.58 MB / 446.1 MB Notification: Performance of Backend: time 4.71e-07/0.5594, allocations: 2.516 kB / 0.5375 GB, free: 99.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.5633, allocations: 1.725 MB / 0.5392 GB, free: 98.68 MB / 446.1 MB Notification: Performance of SimCode: time 0.009214/0.5725, allocations: 6.304 MB / 0.5453 GB, free: 95.48 MB / 446.1 MB Notification: Performance of Templates: time 0.04087/0.6134, allocations: 33.12 MB / 0.5777 GB, free: 69.08 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.338699165266007] 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.6205894001759589 0.628872339 0.36245548800000005 Calling exit ...