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.001564/0.001564, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.001735/0.001735, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.00262/0.00262, allocations: 64.77 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3053, allocations: 53.38 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01593/0.3212, allocations: 13 MB / 444.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009115/0.3303, allocations: 4.28 MB / 449.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.3334, allocations: 99.38 kB / 449.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.3367, allocations: 1.029 MB / 450.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.3428, allocations: 1.247 MB / 451.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.3451, allocations: 0.5421 MB / 452.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008448/0.3535, allocations: 4.649 MB / 456.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003279/0.3568, allocations: 2.07 MB / 458.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004035/0.3608, allocations: 2.192 MB / 461.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.3654, allocations: 2.631 MB / 463.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.3666, allocations: 0.5547 MB / 464.2 MB, free: 6.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.3683, allocations: 0.6561 MB / 464.9 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.3699, allocations: 1.539 MB / 466.4 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.3734, allocations: 2.485 MB / 468.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008488/0.3819, allocations: 7.463 MB / 476.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3819, allocations: 0 / 476.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3819, allocations: 0 / 476.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001645/0.382, allocations: 0 / 476.4 MB, free: 10.21 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.01065/0.3927, allocations: 4.755 MB / 481.1 MB, free: 5.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3927, allocations: 8.031 kB / 481.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009354/0.3937, allocations: 0.502 MB / 481.6 MB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.3954, allocations: 0.5487 MB / 482.2 MB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005618/0.4011, allocations: 2.544 MB / 484.7 MB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.4013, allocations: 267 kB / 485 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007369/0.402, allocations: 351.9 kB / 485.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009843/0.4119, allocations: 5.021 MB / 490.4 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.162e-05/0.412, allocations: 15.89 kB / 490.4 MB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/0.4123, allocations: 148 kB / 490.5 MB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.4125, allocations: 179 kB / 490.7 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00872/0.4212, allocations: 4.294 MB / 495 MB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02847/0.4497, allocations: 14.59 MB / 0.4976 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004646/0.4544, allocations: 2.706 MB / 0.5003 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/0.4579, allocations: 1.877 MB / 0.5021 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.4582, allocations: 53.97 kB / 0.5022 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.4582, allocations: 56.56 kB / 0.5022 GB, free: 3.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.817e-06/0.4582, allocations: 0 / 0.5022 GB, free: 3.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02186/0.4801, allocations: 9.616 MB / 0.5116 GB, free: 10.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.4801, allocations: 77.41 kB / 0.5117 GB, free: 10.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004932/0.4851, allocations: 2.514 MB / 0.5141 GB, free: 7.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003325/0.4854, allocations: 61.7 kB / 0.5142 GB, free: 7.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.4869, allocations: 1.666 MB / 0.5158 GB, free: 5.785 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.4879, allocations: 0.7669 MB / 0.5166 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009126/0.4888, allocations: 416.5 kB / 0.517 GB, free: 4.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4889, allocations: 301.1 kB / 0.5173 GB, free: 4.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.4912, allocations: 1.301 MB / 0.5185 GB, free: 2.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/0.4939, allocations: 1.782 MB / 0.5203 GB, free: 1.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005054/0.4989, allocations: 3.212 MB / 0.5234 GB, free: 13.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.4989, allocations: 7.938 kB / 0.5234 GB, free: 13.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007738/0.5067, allocations: 4.069 MB / 0.5274 GB, free: 9.531 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.5067, allocations: 10.97 kB / 0.5274 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/0.5067, allocations: 16 kB / 0.5274 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.5098, allocations: 0.8831 MB / 0.5283 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.5123, allocations: 0.5227 MB / 0.5288 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2316/0.7439, allocations: 9.169 MB / 0.5377 GB, free: 96.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.7462, allocations: 123.7 kB / 0.5379 GB, free: 96.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/0.7465, allocations: 86.91 kB / 0.5379 GB, free: 96.36 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.002177/0.7487, allocations: 1.214 MB / 0.5391 GB, free: 96.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007772/0.7495, allocations: 290 kB / 0.5394 GB, free: 96.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006172/0.7557, allocations: 3.697 MB / 0.543 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.7557, allocations: 21.19 kB / 0.543 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.7557, allocations: 7.531 kB / 0.543 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.7557, allocations: 13.38 kB / 0.5431 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.7676, allocations: 7.995 MB / 0.5509 GB, free: 92.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.7676, allocations: 3.625 kB / 0.5509 GB, free: 92.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.7691, allocations: 386.2 kB / 0.5512 GB, free: 92.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.7717, allocations: 0.933 MB / 0.5521 GB, free: 91.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/0.772, allocations: 53.83 kB / 0.5522 GB, free: 91.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008134/0.7801, allocations: 10.69 MB / 0.5626 GB, free: 82.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.7801, allocations: 4 kB / 0.5626 GB, free: 82.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00679/0.7869, allocations: 5.511 MB / 0.568 GB, free: 77.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.7883, allocations: 0.5785 MB / 0.5686 GB, free: 76.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/0.7887, allocations: 47.98 kB / 0.5686 GB, free: 76.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.7899, allocations: 115.9 kB / 0.5687 GB, free: 76.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/0.7903, allocations: 185.6 kB / 0.5689 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.7904, allocations: 63.98 kB / 0.569 GB, free: 76.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001932/0.7923, allocations: 1.739 MB / 0.5707 GB, free: 74.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7923, allocations: 0 / 0.5707 GB, free: 74.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001959/0.7943, allocations: 0.8079 MB / 0.5715 GB, free: 73.98 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.006652/0.8009, allocations: 6.195 MB / 0.5775 GB, free: 67.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004612/0.8055, allocations: 3.611 MB / 0.581 GB, free: 64.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.8055, allocations: 5.188 kB / 0.5811 GB, free: 64.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/0.8084, allocations: 2.31 MB / 0.5833 GB, free: 61.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.8115, allocations: 0.7889 MB / 0.5841 GB, free: 60.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04028/0.8518, allocations: 29.67 MB / 0.6131 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002971/0.8547, allocations: 2.781 MB / 0.6158 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002098/0.8568, allocations: 0.683 MB / 0.6164 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/0.8587, allocations: 1.413 MB / 0.6178 GB, free: 25.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.8587, allocations: 0 / 0.6178 GB, free: 25.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5328/1.391, allocations: 76.14 MB / 0.6922 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/17.37, allocations: 0 / 0.6922 GB, free: 14.17 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 & /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: 20.052818006835878] 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.500392616726458 17.51636332 17.130831846 Calling exit ...