Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001788/0.001788, allocations: 114.5 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.002273/0.002273, allocations: 211.4 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.437/1.437, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [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.002242/0.002242, allocations: 72.06 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2081, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01541/0.2235, allocations: 13 MB / 445.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007943/0.2314, allocations: 4.284 MB / 449.4 MB, free: 6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.2325, allocations: 75.69 kB / 449.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.2346, allocations: 1.029 MB / 450.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.2372, allocations: 1.235 MB / 451.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.2381, allocations: 0.5343 MB / 452.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004814/0.243, allocations: 4.645 MB / 456.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.2456, allocations: 2.073 MB / 459 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.2487, allocations: 2.15 MB / 461.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.252, allocations: 2.619 MB / 463.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006902/0.2527, allocations: 0.5547 MB / 464.3 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.2537, allocations: 0.66 MB / 464.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.2552, allocations: 1.531 MB / 466.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002484/0.2577, allocations: 2.493 MB / 469 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007572/0.2652, allocations: 7.455 MB / 476.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2652, allocations: 8 kB / 476.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2652, allocations: 3.938 kB / 476.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000125/0.2654, allocations: 3.938 kB / 476.4 MB, free: 10.78 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009134/0.2745, allocations: 4.811 MB / 481.2 MB, free: 5.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2745, allocations: 12.03 kB / 481.3 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.2761, allocations: 0.5487 MB / 481.8 MB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004853/0.2809, allocations: 2.616 MB / 484.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.2811, allocations: 267 kB / 484.7 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000543/0.2817, allocations: 351.9 kB / 485 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008068/0.2898, allocations: 5.025 MB / 490 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.149e-05/0.2898, allocations: 11.95 kB / 490.1 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.2902, allocations: 140 kB / 490.2 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.2904, allocations: 187 kB / 490.4 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/0.2975, allocations: 4.298 MB / 494.7 MB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02308/0.3206, allocations: 14.76 MB / 0.4975 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/0.3254, allocations: 4.069 MB / 0.5015 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/0.3286, allocations: 1.87 MB / 0.5033 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.3289, allocations: 135.1 kB / 0.5034 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.3289, allocations: 56.97 kB / 0.5035 GB, free: 2.781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.707e-06/0.3289, allocations: 0 / 0.5035 GB, free: 2.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01988/0.3488, allocations: 9.997 MB / 0.5132 GB, free: 8.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.3489, allocations: 73.41 kB / 0.5133 GB, free: 8.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.3526, allocations: 2.522 MB / 0.5158 GB, free: 6.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.3527, allocations: 65.64 kB / 0.5158 GB, free: 5.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.3541, allocations: 1.666 MB / 0.5175 GB, free: 4.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/0.3548, allocations: 0.7669 MB / 0.5182 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006898/0.3555, allocations: 416.5 kB / 0.5186 GB, free: 3.105 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3556, allocations: 301.1 kB / 0.5189 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.3577, allocations: 1.301 MB / 0.5202 GB, free: 1.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/0.3602, allocations: 1.779 MB / 0.5219 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/0.3651, allocations: 3.215 MB / 0.525 GB, free: 12.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3651, allocations: 4 kB / 0.525 GB, free: 12.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007327/0.3724, allocations: 4.073 MB / 0.529 GB, free: 8.039 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3724, allocations: 12.03 kB / 0.529 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.3725, allocations: 16 kB / 0.529 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.3753, allocations: 0.8783 MB / 0.5299 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.3773, allocations: 0.5266 MB / 0.5304 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1834/0.5608, allocations: 9.467 MB / 0.5397 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.5627, allocations: 118.8 kB / 0.5398 GB, free: 96.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.5629, allocations: 83.66 kB / 0.5399 GB, free: 96.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00169/0.5646, allocations: 1.212 MB / 0.541 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/0.565, allocations: 296.3 kB / 0.5413 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005248/0.5702, allocations: 3.709 MB / 0.5449 GB, free: 94.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.5702, allocations: 9.109 kB / 0.545 GB, free: 94.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5703, allocations: 3.75 kB / 0.545 GB, free: 94.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.5715, allocations: 0.6549 MB / 0.5456 GB, free: 94.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/0.5718, allocations: 43.77 kB / 0.5456 GB, free: 94.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.5731, allocations: 121.5 kB / 0.5458 GB, free: 94.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.5733, allocations: 185.8 kB / 0.5459 GB, free: 94.38 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006277/0.5796, allocations: 3.944 MB / 0.5498 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005321/0.5849, allocations: 5.064 MB / 0.5547 GB, free: 91.23 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001446/0.5864, allocations: 1.382 MB / 0.5561 GB, free: 90.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001925/0.5883, allocations: 1.737 MB / 0.5578 GB, free: 89.32 MB / 446.1 MB Notification: Performance of Backend: time 2.9e-07/0.5883, allocations: 0 / 0.5578 GB, free: 89.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004384/0.5927, allocations: 2.77 MB / 0.5605 GB, free: 86.54 MB / 446.1 MB Notification: Performance of SimCode: time 0.00897/0.6017, allocations: 8.02 MB / 0.5683 GB, free: 78.53 MB / 446.1 MB Notification: Performance of Templates: time 0.06036/0.662, allocations: 49.42 MB / 0.6166 GB, free: 29.69 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 24.816127717029303] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 0.6695327609777451 0.677443431 0.410033017 Calling exit ...