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.001831/0.001831, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002394/0.002394, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.458/1.458, allocations: 230.5 MB / 254.7 MB, free: 15.01 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [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.002647/0.002647, allocations: 75.83 kB / 373.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1074, allocations: 53.31 MB / 426.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.2168/0.3241, allocations: 12.94 MB / 439.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009051/0.3332, allocations: 4.281 MB / 444.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.3362, allocations: 83.78 kB / 444.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.3393, allocations: 1.025 MB / 445.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.3435, allocations: 1.23 MB / 446.5 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.3451, allocations: 0.5303 MB / 447 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006998/0.3521, allocations: 4.641 MB / 451.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004268/0.3564, allocations: 2.701 MB / 454.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.3614, allocations: 2.133 MB / 456.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005527/0.367, allocations: 2.637 MB / 459.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.3687, allocations: 0.5526 MB / 459.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.3712, allocations: 0.6562 MB / 460.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003126/0.3744, allocations: 1.531 MB / 461.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006133/0.3805, allocations: 2.488 MB / 464.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.3915, allocations: 7.463 MB / 471.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3915, allocations: 0 / 471.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3915, allocations: 0 / 471.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002234/0.3917, allocations: 1.062 kB / 471.8 MB, free: 2.246 MB / 366.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.01454/0.4062, allocations: 4.824 MB / 476.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4063, allocations: 9.625 kB / 476.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001483/0.4078, allocations: 0.5036 MB / 477.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.4101, allocations: 0.5502 MB / 477.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/0.4169, allocations: 2.604 MB / 480.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.4172, allocations: 267 kB / 480.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.4184, allocations: 355.9 kB / 480.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.4306, allocations: 5.026 MB / 485.9 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.4307, allocations: 9.016 kB / 485.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/0.4312, allocations: 148 kB / 486.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/0.4314, allocations: 187 kB / 486.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009168/0.4406, allocations: 4.291 MB / 490.5 MB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04123/0.4818, allocations: 14.77 MB / 0.4935 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007886/0.4897, allocations: 4.051 MB / 0.4974 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005327/0.495, allocations: 1.877 MB / 0.4993 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.4955, allocations: 131.1 kB / 0.4994 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.461e-05/0.4956, allocations: 60.56 kB / 0.4994 GB, free: 11.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 5.741e-06/0.4956, allocations: 0 / 0.4994 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02916/0.5248, allocations: 9.993 MB / 0.5092 GB, free: 1.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.5248, allocations: 73.41 kB / 0.5093 GB, free: 1.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004478/0.5293, allocations: 2.518 MB / 0.5117 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005424/0.5299, allocations: 69.7 kB / 0.5118 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.5315, allocations: 1.65 MB / 0.5134 GB, free: 13.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.5325, allocations: 0.7708 MB / 0.5142 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000757/0.5333, allocations: 416.5 kB / 0.5146 GB, free: 12.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5334, allocations: 305.1 kB / 0.5149 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.5357, allocations: 1.301 MB / 0.5161 GB, free: 10.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.5384, allocations: 1.778 MB / 0.5179 GB, free: 8.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/0.5435, allocations: 3.212 MB / 0.521 GB, free: 5.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.5436, allocations: 4 kB / 0.521 GB, free: 5.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00801/0.5516, allocations: 4.08 MB / 0.525 GB, free: 0.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.5516, allocations: 12 kB / 0.525 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.5516, allocations: 15.94 kB / 0.525 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.5545, allocations: 0.8728 MB / 0.5259 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.5567, allocations: 0.5266 MB / 0.5264 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.568, allocations: 9.476 MB / 0.5356 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.5703, allocations: 119.9 kB / 0.5357 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/0.5706, allocations: 91.98 kB / 0.5358 GB, free: 5.414 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.002499/0.5731, allocations: 1.219 MB / 0.537 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007031/0.5738, allocations: 290.2 kB / 0.5373 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/0.5809, allocations: 3.703 MB / 0.5409 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.5809, allocations: 20.09 kB / 0.5409 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.5809, allocations: 8 kB / 0.5409 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/0.581, allocations: 15.94 kB / 0.541 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.5986, allocations: 7.994 MB / 0.5488 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.5986, allocations: 4 kB / 0.5488 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.6004, allocations: 395.8 kB / 0.5491 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/0.6036, allocations: 0.9279 MB / 0.5501 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/0.6039, allocations: 55.97 kB / 0.5501 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.6172, allocations: 11.11 MB / 0.561 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.6172, allocations: 7.938 kB / 0.561 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009956/0.6272, allocations: 5.506 MB / 0.5663 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/0.6298, allocations: 0.6436 MB / 0.567 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009307/0.6307, allocations: 51.98 kB / 0.567 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.6325, allocations: 107.9 kB / 0.5671 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/0.6329, allocations: 181.7 kB / 0.5673 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.6331, allocations: 63.98 kB / 0.5674 GB, free: 4.312 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003275/0.6364, allocations: 1.735 MB / 0.569 GB, free: 2.566 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.6364, allocations: 0 / 0.569 GB, free: 2.566 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003534/0.6399, allocations: 0.8008 MB / 0.5698 GB, free: 1.766 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009987/0.6499, allocations: 6.205 MB / 0.5759 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006398/0.6563, allocations: 3.767 MB / 0.5796 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.6563, allocations: 4 kB / 0.5796 GB, free: 7.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004112/0.6604, allocations: 2.386 MB / 0.5819 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/0.6641, allocations: 0.7957 MB / 0.5827 GB, free: 4.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05152/0.7157, allocations: 29.61 MB / 0.6116 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002928/0.7186, allocations: 2.778 MB / 0.6143 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002207/0.7208, allocations: 0.6868 MB / 0.615 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/0.723, allocations: 1.417 MB / 0.6164 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.723, allocations: 0 / 0.6164 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.356/1.079, allocations: 74.33 MB / 0.689 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.9, allocations: 11.67 kB / 0.689 GB, free: 121.4 MB / 0.5137 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.578831417951733] 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'] 17.02791129006073 17.041152224 16.64628806 Calling exit ...