Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.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.001287/0.001287, 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.001391/0.001391, 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.405/1.405, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.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.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.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.Transformers.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.001957/0.001957, allocations: 67.89 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.213, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01521/0.2282, allocations: 13.04 MB / 445.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006856/0.235, allocations: 4.284 MB / 449.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008865/0.2359, allocations: 75.69 kB / 449.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.238, allocations: 1.029 MB / 450.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.2406, allocations: 1.235 MB / 451.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.2416, allocations: 0.5304 MB / 452.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005026/0.2466, allocations: 4.645 MB / 456.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.2494, allocations: 2.073 MB / 459 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.2528, allocations: 2.141 MB / 461.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.2562, allocations: 2.623 MB / 463.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006977/0.2569, allocations: 0.5508 MB / 464.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.258, allocations: 0.66 MB / 465 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.2595, allocations: 1.535 MB / 466.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002621/0.2621, allocations: 2.489 MB / 469 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0075/0.2696, allocations: 7.463 MB / 476.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2696, allocations: 3.938 kB / 476.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2696, allocations: 4 kB / 476.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.2697, allocations: 0 / 476.5 MB, free: 10.81 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.009438/0.2792, allocations: 4.815 MB / 481.3 MB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2792, allocations: 16.02 kB / 481.3 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.2808, allocations: 0.5487 MB / 481.9 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.2857, allocations: 2.612 MB / 484.5 MB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.2859, allocations: 267 kB / 484.7 MB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.2865, allocations: 363.9 kB / 485.1 MB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007892/0.2944, allocations: 5.025 MB / 490.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.009e-05/0.2944, allocations: 11.94 kB / 490.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.2948, allocations: 144 kB / 490.3 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.295, allocations: 179.1 kB / 490.4 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007019/0.302, allocations: 4.298 MB / 494.7 MB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0224/0.3244, allocations: 14.76 MB / 0.4975 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00467/0.329, allocations: 4.058 MB / 0.5015 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.3323, allocations: 1.881 MB / 0.5033 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.3326, allocations: 135 kB / 0.5035 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.3326, allocations: 56.56 kB / 0.5035 GB, free: 2.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.858e-06/0.3326, allocations: 0 / 0.5035 GB, free: 2.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01948/0.3521, allocations: 9.989 MB / 0.5133 GB, free: 8.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.3521, allocations: 73.41 kB / 0.5134 GB, free: 8.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/0.3557, allocations: 2.518 MB / 0.5158 GB, free: 6.074 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.3558, allocations: 65.7 kB / 0.5159 GB, free: 6.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.3571, allocations: 1.658 MB / 0.5175 GB, free: 4.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006414/0.3578, allocations: 0.7708 MB / 0.5182 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006778/0.3584, allocations: 420.5 kB / 0.5186 GB, free: 3.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3586, allocations: 305.1 kB / 0.5189 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.3606, allocations: 1.301 MB / 0.5202 GB, free: 1.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002471/0.3631, allocations: 1.775 MB / 0.5219 GB, free: 15.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/0.3677, allocations: 3.223 MB / 0.5251 GB, free: 12.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3677, allocations: 4 kB / 0.5251 GB, free: 12.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006867/0.3746, allocations: 4.068 MB / 0.5291 GB, free: 8.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.3746, allocations: 8.469 kB / 0.5291 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.3747, allocations: 20 kB / 0.5291 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/0.3774, allocations: 0.8756 MB / 0.5299 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.3795, allocations: 0.5227 MB / 0.5305 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1834/0.5629, allocations: 9.469 MB / 0.5397 GB, free: 96.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.5649, allocations: 121.4 kB / 0.5398 GB, free: 96.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.565, allocations: 84.09 kB / 0.5399 GB, free: 96.79 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.001711/0.5667, allocations: 1.219 MB / 0.5411 GB, free: 96.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/0.5671, allocations: 288.6 kB / 0.5414 GB, free: 96.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00531/0.5725, allocations: 3.699 MB / 0.545 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.5725, allocations: 15.2 kB / 0.545 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5725, allocations: 0 / 0.545 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.5737, allocations: 0.6591 MB / 0.5456 GB, free: 94.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/0.5741, allocations: 45.75 kB / 0.5457 GB, free: 94.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.5754, allocations: 124.8 kB / 0.5458 GB, free: 94.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.5757, allocations: 181.3 kB / 0.546 GB, free: 94.45 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006287/0.5819, allocations: 3.946 MB / 0.5498 GB, free: 93.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005257/0.5872, allocations: 5.06 MB / 0.5548 GB, free: 91.29 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001402/0.5886, allocations: 1.385 MB / 0.5561 GB, free: 90.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.5904, allocations: 1.734 MB / 0.5578 GB, free: 89.43 MB / 446.1 MB Notification: Performance of Backend: time 2.01e-07/0.5904, allocations: 0 / 0.5578 GB, free: 89.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004223/0.5946, allocations: 2.779 MB / 0.5605 GB, free: 86.64 MB / 446.1 MB Notification: Performance of SimCode: time 0.008757/0.6034, allocations: 8.019 MB / 0.5684 GB, free: 78.64 MB / 446.1 MB Notification: Performance of Templates: time 0.06163/0.665, allocations: 49.42 MB / 0.6166 GB, free: 29.79 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 24.579944683238864] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimc.i_0_s', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 0.6726529039442539 0.680971417 0.40913310999999997 Calling exit ...