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_Transformer.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.001725/0.001725, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.00199/0.00199, allocations: 214.8 kB / 24.49 MB, free: 3.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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.789 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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 43.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2221, allocations: 53.38 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01961/0.2417, allocations: 15.17 MB / 447.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.2531, allocations: 5.65 MB / 453.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.2559, allocations: 147.1 kB / 453.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00393/0.2598, allocations: 1.354 MB / 454.7 MB, free: 312 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.2654, allocations: 1.818 MB / 456.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.2681, allocations: 1.063 MB / 457.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008057/0.2761, allocations: 6.356 MB / 463.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004673/0.2808, allocations: 2.858 MB / 466.8 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005008/0.2858, allocations: 3.044 MB / 469.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005613/0.2914, allocations: 3.523 MB / 473.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.2928, allocations: 0.7852 MB / 474.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.2952, allocations: 1.07 MB / 475.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001905/0.2971, allocations: 1.878 MB / 477.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00376/0.3009, allocations: 2.677 MB / 479.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.3131, allocations: 10.64 MB / 490.4 MB, free: 12.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3131, allocations: 0 / 490.4 MB, free: 12.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3131, allocations: 0 / 490.4 MB, free: 12.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002097/0.3133, allocations: 3.938 kB / 490.4 MB, free: 12.41 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.0165/0.3298, allocations: 6.615 MB / 497 MB, free: 5.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.3299, allocations: 8.031 kB / 497 MB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005455/0.3353, allocations: 1.098 MB / 498.1 MB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007647/0.343, allocations: 3.627 MB / 0.49 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.3433, allocations: 381.7 kB / 0.4904 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008261/0.3441, allocations: 476 kB / 0.4908 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.3567, allocations: 7.186 MB / 0.4978 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.3568, allocations: 11.95 kB / 0.4978 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005104/0.3573, allocations: 196 kB / 0.498 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002593/0.3575, allocations: 241.8 kB / 0.4983 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.3682, allocations: 5.937 MB / 0.5041 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03258/0.4007, allocations: 17.89 MB / 0.5215 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007987/0.4087, allocations: 4.456 MB / 0.5259 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003917/0.4127, allocations: 2.286 MB / 0.5281 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.4246, allocations: 5.607 MB / 0.5336 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/0.4246, allocations: 60.56 kB / 0.5337 GB, free: 3.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.559e-06/0.4247, allocations: 0 / 0.5337 GB, free: 3.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=226): time 0.1978/0.6225, allocations: 8.945 MB / 0.5424 GB, free: 98.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.6225, allocations: 76.06 kB / 0.5425 GB, free: 98.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.6262, allocations: 2.634 MB / 0.545 GB, free: 97.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.6264, allocations: 66.52 kB / 0.5451 GB, free: 97.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009541/0.6273, allocations: 2.259 MB / 0.5473 GB, free: 95.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.6277, allocations: 0.8005 MB / 0.5481 GB, free: 94.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006248/0.6283, allocations: 466.5 kB / 0.5485 GB, free: 94.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.6284, allocations: 311.1 kB / 0.5488 GB, free: 94.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.63, allocations: 1.287 MB / 0.5501 GB, free: 93.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.6318, allocations: 1.948 MB / 0.552 GB, free: 92.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.6352, allocations: 3.341 MB / 0.5552 GB, free: 90.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.6352, allocations: 7.375 kB / 0.5553 GB, free: 90.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005395/0.6406, allocations: 4.14 MB / 0.5593 GB, free: 87.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.6406, allocations: 16 kB / 0.5593 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.6406, allocations: 19.94 kB / 0.5593 GB, free: 87.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.6431, allocations: 0.7665 MB / 0.5601 GB, free: 86.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.6451, allocations: 0.5666 MB / 0.5606 GB, free: 86.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.6529, allocations: 10.24 MB / 0.5706 GB, free: 76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.6548, allocations: 103.9 kB / 0.5707 GB, free: 75.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.655, allocations: 101.1 kB / 0.5708 GB, free: 75.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002239/0.6572, allocations: 1.625 MB / 0.5724 GB, free: 74.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005346/0.6577, allocations: 298.1 kB / 0.5727 GB, free: 73.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005367/0.6631, allocations: 3.706 MB / 0.5763 GB, free: 70.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.6631, allocations: 11.95 kB / 0.5763 GB, free: 70.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6631, allocations: 0 / 0.5763 GB, free: 70.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.6646, allocations: 0.6027 MB / 0.5769 GB, free: 69.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.665, allocations: 59.92 kB / 0.577 GB, free: 69.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.6662, allocations: 95.92 kB / 0.5771 GB, free: 69.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/0.6665, allocations: 221.5 kB / 0.5773 GB, free: 69.16 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006504/0.673, allocations: 3.914 MB / 0.5811 GB, free: 65.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005439/0.6785, allocations: 4.822 MB / 0.5858 GB, free: 60.43 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001427/0.6799, allocations: 1.351 MB / 0.5871 GB, free: 59.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002154/0.6821, allocations: 1.792 MB / 0.5889 GB, free: 57.29 MB / 446.1 MB Notification: Performance of Backend: time 2.3e-07/0.6821, allocations: 0 / 0.5889 GB, free: 57.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00477/0.6868, allocations: 2.861 MB / 0.5917 GB, free: 54.4 MB / 446.1 MB Notification: Performance of SimCode: time 0.01176/0.6986, allocations: 9.821 MB / 0.6013 GB, free: 44.54 MB / 446.1 MB Notification: Performance of Templates: time 0.07736/0.776, allocations: 58.17 MB / 0.6581 GB, free: 3.121 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.34521519500413] Failed to read output from testmodel.py, exit status != 0: ['time', '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', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 0.7841474750021007 0.798912612 0.482556279 Calling exit ...