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.001571/0.001571, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001912/0.001912, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.00202/0.00202, allocations: 72.75 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01733/0.33, allocations: 13.02 MB / 445 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3401, allocations: 4.273 MB / 449.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.3435, allocations: 103.3 kB / 449.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003509/0.347, allocations: 1.025 MB / 450.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.3522, allocations: 1.251 MB / 451.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.3539, allocations: 0.5305 MB / 452.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007173/0.3611, allocations: 4.655 MB / 456.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003156/0.3643, allocations: 2.074 MB / 458.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/0.3691, allocations: 2.195 MB / 461.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00531/0.3744, allocations: 2.619 MB / 463.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001969/0.3764, allocations: 0.5547 MB / 464.2 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.3788, allocations: 0.66 MB / 464.9 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002116/0.3809, allocations: 1.539 MB / 466.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005215/0.3861, allocations: 2.485 MB / 468.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.3974, allocations: 7.463 MB / 476.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3974, allocations: 0 / 476.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3974, allocations: 4 kB / 476.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001988/0.3976, allocations: 0 / 476.4 MB, free: 10.22 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.01242/0.41, allocations: 4.748 MB / 481.1 MB, free: 5.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4101, allocations: 8.031 kB / 481.1 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009232/0.411, allocations: 0.4981 MB / 481.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.4128, allocations: 0.5526 MB / 482.2 MB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005652/0.4185, allocations: 2.54 MB / 484.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.4188, allocations: 271 kB / 485 MB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008168/0.4196, allocations: 351.9 kB / 485.3 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.4298, allocations: 5.032 MB / 490.4 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.096e-05/0.4299, allocations: 11.95 kB / 490.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/0.4303, allocations: 140 kB / 490.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.4305, allocations: 179.1 kB / 490.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008689/0.4392, allocations: 4.298 MB / 495 MB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/0.4661, allocations: 14.6 MB / 0.4976 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/0.4704, allocations: 2.71 MB / 0.5003 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/0.4736, allocations: 1.866 MB / 0.5021 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.4739, allocations: 57.95 kB / 0.5022 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.4739, allocations: 53.03 kB / 0.5022 GB, free: 3.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.948e-06/0.4739, allocations: 0 / 0.5022 GB, free: 3.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02061/0.4945, allocations: 9.624 MB / 0.5116 GB, free: 10.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.4946, allocations: 73.41 kB / 0.5117 GB, free: 10.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.4988, allocations: 2.518 MB / 0.5141 GB, free: 7.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003366/0.4992, allocations: 61.7 kB / 0.5142 GB, free: 7.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.5006, allocations: 1.666 MB / 0.5158 GB, free: 5.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008449/0.5014, allocations: 0.7708 MB / 0.5166 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007163/0.5021, allocations: 412.5 kB / 0.517 GB, free: 4.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5023, allocations: 301.1 kB / 0.5173 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.5044, allocations: 1.297 MB / 0.5185 GB, free: 3.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.507, allocations: 1.778 MB / 0.5203 GB, free: 1.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004857/0.5118, allocations: 3.215 MB / 0.5234 GB, free: 13.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.5118, allocations: 7.938 kB / 0.5234 GB, free: 13.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00753/0.5194, allocations: 4.069 MB / 0.5274 GB, free: 9.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.5194, allocations: 12.06 kB / 0.5274 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.5194, allocations: 16 kB / 0.5274 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.5223, allocations: 0.8794 MB / 0.5283 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.5244, allocations: 0.5266 MB / 0.5288 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2448/0.7692, allocations: 9.171 MB / 0.5377 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.7716, allocations: 123.8 kB / 0.5379 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/0.7719, allocations: 85.56 kB / 0.5379 GB, free: 96.39 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.002456/0.7744, allocations: 1.213 MB / 0.5391 GB, free: 96.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007676/0.7751, allocations: 289.2 kB / 0.5394 GB, free: 96.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006293/0.7814, allocations: 3.701 MB / 0.543 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.7814, allocations: 20.62 kB / 0.543 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/0.7815, allocations: 7.531 kB / 0.543 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-05/0.7815, allocations: 13.22 kB / 0.5431 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.7943, allocations: 7.996 MB / 0.5509 GB, free: 92.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.7943, allocations: 3.406 kB / 0.5509 GB, free: 92.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.7958, allocations: 383 kB / 0.5512 GB, free: 92.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/0.7985, allocations: 0.9299 MB / 0.5521 GB, free: 91.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.7987, allocations: 55.12 kB / 0.5522 GB, free: 91.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008868/0.8076, allocations: 10.68 MB / 0.5626 GB, free: 82.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.8076, allocations: 11.11 kB / 0.5626 GB, free: 82.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007421/0.815, allocations: 5.514 MB / 0.568 GB, free: 77.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.8166, allocations: 0.5783 MB / 0.5686 GB, free: 76.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004211/0.817, allocations: 56.31 kB / 0.5686 GB, free: 76.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.8183, allocations: 115.9 kB / 0.5687 GB, free: 76.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004904/0.8188, allocations: 185.6 kB / 0.5689 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.8189, allocations: 59.98 kB / 0.569 GB, free: 76.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002326/0.8212, allocations: 1.742 MB / 0.5707 GB, free: 74.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8212, allocations: 0 / 0.5707 GB, free: 74.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00269/0.8239, allocations: 0.7989 MB / 0.5715 GB, free: 73.97 MB / 446.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.00788/0.8318, allocations: 6.199 MB / 0.5775 GB, free: 67.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005848/0.8377, allocations: 3.617 MB / 0.5811 GB, free: 64.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.8377, allocations: 0 / 0.5811 GB, free: 64.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003588/0.8413, allocations: 2.311 MB / 0.5833 GB, free: 61.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/0.8456, allocations: 0.7922 MB / 0.5841 GB, free: 60.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04154/0.8871, allocations: 29.67 MB / 0.6131 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.8893, allocations: 2.777 MB / 0.6158 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002048/0.8913, allocations: 0.6829 MB / 0.6164 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.8928, allocations: 1.417 MB / 0.6178 GB, free: 25.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.8928, allocations: 0 / 0.6178 GB, free: 25.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1857/1.079, allocations: 76.13 MB / 0.6922 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.91, allocations: 6.719 kB / 0.6922 GB, free: 14.16 MB / 0.4981 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.75310208182782] 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.05623460887 17.082728511 16.680122107 Calling exit ...