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.001606/0.001606, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001963/0.001963, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.487/1.487, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001937/0.001937, allocations: 71.83 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09748, allocations: 53.32 MB / 427 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.2173/0.3148, allocations: 12.95 MB / 440 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007628/0.3224, allocations: 4.275 MB / 444.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.3252, allocations: 103.7 kB / 444.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.3281, allocations: 1.017 MB / 445.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.3327, allocations: 1.237 MB / 446.6 MB, free: 280 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.3343, allocations: 0.5219 MB / 447.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007516/0.3418, allocations: 4.656 MB / 451.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/0.3461, allocations: 2.689 MB / 454.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005098/0.3512, allocations: 2.178 MB / 456.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00612/0.3573, allocations: 2.63 MB / 459.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001876/0.3592, allocations: 0.5514 MB / 459.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.3621, allocations: 0.6561 MB / 460.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0023/0.3644, allocations: 1.539 MB / 462 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005897/0.3703, allocations: 2.485 MB / 464.5 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.3811, allocations: 7.462 MB / 472 MB, free: 2.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3811, allocations: 7.875 kB / 472 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3811, allocations: 1.094 kB / 472 MB, free: 2.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002477/0.3814, allocations: 0 / 472 MB, free: 2.047 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.01357/0.395, allocations: 4.829 MB / 476.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.395, allocations: 13.56 kB / 476.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/0.3963, allocations: 0.4945 MB / 477.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.3986, allocations: 0.5496 MB / 477.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/0.4045, allocations: 2.612 MB / 480.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.4047, allocations: 263.9 kB / 480.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008942/0.4056, allocations: 355.9 kB / 481.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.416, allocations: 5.031 MB / 486.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.778e-05/0.4161, allocations: 7.953 kB / 486.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.4165, allocations: 148 kB / 486.3 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.4167, allocations: 183 kB / 486.4 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008069/0.4248, allocations: 4.294 MB / 490.7 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02568/0.4504, allocations: 14.76 MB / 0.4937 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004951/0.4554, allocations: 4.055 MB / 0.4976 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/0.4588, allocations: 1.877 MB / 0.4994 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.4591, allocations: 131.1 kB / 0.4996 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.49e-05/0.4592, allocations: 56.56 kB / 0.4996 GB, free: 11.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.739e-06/0.4592, allocations: 0 / 0.4996 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02157/0.4807, allocations: 10 MB / 0.5094 GB, free: 1.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.4808, allocations: 73.41 kB / 0.5095 GB, free: 1.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.4848, allocations: 2.522 MB / 0.5119 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000317/0.4851, allocations: 65.7 kB / 0.512 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.4865, allocations: 1.658 MB / 0.5136 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007976/0.4873, allocations: 0.7669 MB / 0.5144 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007141/0.488, allocations: 412.5 kB / 0.5148 GB, free: 11.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4881, allocations: 309.1 kB / 0.515 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.4903, allocations: 1.301 MB / 0.5163 GB, free: 10.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.4929, allocations: 1.778 MB / 0.5181 GB, free: 8.184 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.4976, allocations: 3.211 MB / 0.5212 GB, free: 4.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.4976, allocations: 4 kB / 0.5212 GB, free: 4.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007379/0.505, allocations: 4.069 MB / 0.5252 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.5051, allocations: 12 kB / 0.5252 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.5051, allocations: 12 kB / 0.5252 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.5079, allocations: 0.8794 MB / 0.526 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.5102, allocations: 0.5265 MB / 0.5266 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.5215, allocations: 9.483 MB / 0.5358 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.5239, allocations: 119.9 kB / 0.5359 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002883/0.5242, allocations: 91.92 kB / 0.536 GB, free: 5.145 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.002375/0.5266, allocations: 1.208 MB / 0.5372 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007078/0.5273, allocations: 294.2 kB / 0.5375 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006778/0.5341, allocations: 3.695 MB / 0.5411 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.5341, allocations: 24 kB / 0.5411 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.5341, allocations: 4 kB / 0.5411 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.5341, allocations: 20.03 kB / 0.5411 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.5487, allocations: 8.006 MB / 0.549 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.5487, allocations: 0 / 0.549 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.5504, allocations: 387.8 kB / 0.5493 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/0.5536, allocations: 0.9369 MB / 0.5502 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/0.5538, allocations: 51.97 kB / 0.5503 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.567, allocations: 11.1 MB / 0.5611 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.567, allocations: 7.938 kB / 0.5611 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009987/0.577, allocations: 5.51 MB / 0.5665 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.579, allocations: 0.6436 MB / 0.5671 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/0.5795, allocations: 47.98 kB / 0.5672 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.5808, allocations: 115.9 kB / 0.5673 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000492/0.5813, allocations: 177.8 kB / 0.5675 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.5815, allocations: 63.92 kB / 0.5675 GB, free: 4.047 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002695/0.5842, allocations: 1.739 MB / 0.5692 GB, free: 2.297 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5842, allocations: 0 / 0.5692 GB, free: 2.297 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002803/0.587, allocations: 0.8046 MB / 0.57 GB, free: 1.492 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.009613/0.5966, allocations: 6.209 MB / 0.5761 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006414/0.603, allocations: 3.763 MB / 0.5798 GB, free: 7.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.603, allocations: 4.062 kB / 0.5798 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004163/0.6072, allocations: 2.385 MB / 0.5821 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/0.6111, allocations: 0.7869 MB / 0.5829 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05448/0.6656, allocations: 29.61 MB / 0.6118 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002896/0.6685, allocations: 2.781 MB / 0.6145 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002264/0.6707, allocations: 0.679 MB / 0.6152 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/0.673, allocations: 1.417 MB / 0.6165 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.673, allocations: 0 / 0.6165 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3328/1.006, allocations: 74.33 MB / 0.6891 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.39, allocations: 0 / 0.6891 GB, free: 121.1 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.079206213820726] 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'] 16.521273785736412 16.54052012 16.155469478 Calling exit ...