Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001788/0.001788, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002137/0.002137, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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.002044/0.002044, allocations: 60.78 kB / 378.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2932, allocations: 53.37 MB / 432 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04666/0.3399, allocations: 39.17 MB / 471.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02706/0.3669, allocations: 10.36 MB / 481.5 MB, free: 5.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/0.3774, allocations: 358.1 kB / 481.8 MB, free: 4.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02614/0.4035, allocations: 10.34 MB / 492.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01683/0.4203, allocations: 4.223 MB / 496.4 MB, free: 6.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008702/0.429, allocations: 2.487 MB / 498.9 MB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0263/0.4553, allocations: 16.66 MB / 0.5035 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04117/0.4965, allocations: 20.58 MB / 0.5236 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01589/0.5124, allocations: 8.72 MB / 0.5321 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.556/1.068, allocations: 9.605 MB / 0.5415 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00877/1.077, allocations: 2.42 MB / 0.5438 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/1.088, allocations: 2.847 MB / 0.5466 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009971/1.098, allocations: 4.829 MB / 0.5513 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.021/1.119, allocations: 9.213 MB / 0.5603 GB, free: 27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04329/1.163, allocations: 32.24 MB / 0.5918 GB, free: 9.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/1.163, allocations: 0 / 0.5918 GB, free: 9.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.825e-06/1.163, allocations: 3.938 kB / 0.5918 GB, free: 9.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001558/1.164, allocations: 3.844 kB / 0.5918 GB, free: 9.082 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06343/1.228, allocations: 18.99 MB / 0.6104 GB, free: 11.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.228, allocations: 8.031 kB / 0.6104 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009375/1.237, allocations: 2.288 MB / 0.6126 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04789/1.285, allocations: 8.274 MB / 0.6207 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03018/1.315, allocations: 10.38 MB / 0.6308 GB, free: 7.258 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00153/1.317, allocations: 1.057 MB / 0.6319 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008628/1.325, allocations: 1.401 MB / 0.6332 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07269/1.398, allocations: 22.8 MB / 0.6555 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006499/1.399, allocations: 21.55 kB / 0.6555 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005923/1.405, allocations: 0.5773 MB / 0.6561 GB, free: 13.39 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009646/1.406, allocations: 0.7824 MB / 0.6568 GB, free: 12.61 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05316/1.459, allocations: 21.06 MB / 0.6774 GB, free: 7.535 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1491/1.608, allocations: 71.08 MB / 0.7468 GB, free: 296 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3081/1.916, allocations: 13.96 MB / 0.7605 GB, free: 192.7 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007608/1.924, allocations: 4.741 MB / 0.7651 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02121/1.945, allocations: 12.66 MB / 0.7775 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/1.945, allocations: 93.14 kB / 0.7775 GB, free: 185.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.612e-06/1.945, allocations: 0 / 0.7775 GB, free: 185.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.04964/1.995, allocations: 25.87 MB / 0.8028 GB, free: 174.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/1.995, allocations: 135.7 kB / 0.8029 GB, free: 174.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007777/2.002, allocations: 5.795 MB / 0.8086 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009343/2.003, allocations: 105.7 kB / 0.8087 GB, free: 170.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002673/2.006, allocations: 6.375 MB / 0.8149 GB, free: 165 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/2.008, allocations: 1.816 MB / 0.8167 GB, free: 163.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/2.01, allocations: 1.481 MB / 0.8181 GB, free: 161.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/2.01, allocations: 301.1 kB / 0.8184 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004377/2.014, allocations: 3.645 MB / 0.822 GB, free: 157.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005472/2.02, allocations: 6.482 MB / 0.8283 GB, free: 150.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/2.03, allocations: 10.79 MB / 0.8389 GB, free: 138 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.766e-05/2.03, allocations: 29.78 kB / 0.8389 GB, free: 138 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01901/2.05, allocations: 12.02 MB / 0.8506 GB, free: 125.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/2.05, allocations: 47.98 kB / 0.8507 GB, free: 125.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/2.05, allocations: 92 kB / 0.8508 GB, free: 125.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003992/2.054, allocations: 1.591 MB / 0.8523 GB, free: 124.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006234/2.06, allocations: 1.677 MB / 0.8539 GB, free: 122.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/2.079, allocations: 19.12 MB / 0.8726 GB, free: 102.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006883/2.086, allocations: 427.5 kB / 0.873 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/2.088, allocations: 372 kB / 0.8734 GB, free: 102.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008574/2.096, allocations: 5.204 MB / 0.8785 GB, free: 96.84 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/2.098, allocations: 0.6288 MB / 0.8791 GB, free: 96.21 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/2.112, allocations: 9.157 MB / 0.888 GB, free: 86.99 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007945/2.12, allocations: 5.856 MB / 0.8937 GB, free: 81.11 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/2.12, allocations: 16 kB / 0.8938 GB, free: 81.09 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.258e-05/2.12, allocations: 27.91 kB / 0.8938 GB, free: 81.06 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03257/2.153, allocations: 20.93 MB / 0.9142 GB, free: 60.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/2.153, allocations: 4.781 kB / 0.9142 GB, free: 60.06 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0037/2.156, allocations: 0.8774 MB / 0.9151 GB, free: 59.18 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004211/2.161, allocations: 1.639 MB / 0.9167 GB, free: 57.52 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005878/2.161, allocations: 132 kB / 0.9168 GB, free: 57.39 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/2.182, allocations: 22.5 MB / 0.9388 GB, free: 34.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/2.182, allocations: 8 kB / 0.9388 GB, free: 34.11 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/2.2, allocations: 13.57 MB / 0.952 GB, free: 20.21 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003829/2.204, allocations: 1.347 MB / 0.9533 GB, free: 18.86 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/2.205, allocations: 104 kB / 0.9534 GB, free: 18.76 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/2.209, allocations: 279.7 kB / 0.9537 GB, free: 18.49 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009291/2.209, allocations: 444.1 kB / 0.9541 GB, free: 18.05 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00032/2.21, allocations: 160 kB / 0.9543 GB, free: 17.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005435/2.215, allocations: 3.904 MB / 0.9581 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/2.215, allocations: 0 / 0.9581 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008561/2.224, allocations: 2.341 MB / 0.9604 GB, free: 11.68 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3313/2.555, allocations: 14.35 MB / 0.9744 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01724/2.572, allocations: 9.465 MB / 0.9836 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/2.572, allocations: 0 / 0.9836 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008737/2.581, allocations: 5.146 MB / 0.9887 GB, free: 171.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008474/2.59, allocations: 1.655 MB / 0.9903 GB, free: 170.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1359/2.725, allocations: 80.2 MB / 1.069 GB, free: 116.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01362/2.739, allocations: 8.864 MB / 1.077 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007121/2.746, allocations: 2.539 MB / 1.08 GB, free: 106.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008267/2.754, allocations: 5.201 MB / 1.085 GB, free: 100.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.392e-06/2.754, allocations: 0 / 1.085 GB, free: 100.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6225/3.377, allocations: 196.1 MB / 1.276 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.59/29.96, allocations: 4.812 kB / 1.276 GB, free: 155.8 MB / 0.5919 GB " [Timeout remaining time 630] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 32.72422991786152] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 30.155782968271524 30.168508157 29.002591915 Calling exit ...