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.001341/0.001341, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00149/0.00149, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001996/0.001996, allocations: 64.55 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3003, allocations: 53.37 MB / 432 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0471/0.3474, allocations: 39.17 MB / 471.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0268/0.3742, allocations: 10.36 MB / 481.5 MB, free: 5.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009107/0.3833, allocations: 358.1 kB / 481.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02659/0.4099, allocations: 10.35 MB / 492.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01699/0.4269, allocations: 4.215 MB / 496.4 MB, free: 6.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008793/0.4357, allocations: 2.491 MB / 498.9 MB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02794/0.4636, allocations: 16.65 MB / 0.5035 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0421/0.5057, allocations: 20.6 MB / 0.5236 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/0.522, allocations: 8.712 MB / 0.5321 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4788/1.001, allocations: 9.606 MB / 0.5415 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008772/1.01, allocations: 2.419 MB / 0.5438 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009729/1.019, allocations: 2.851 MB / 0.5466 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007655/1.027, allocations: 4.829 MB / 0.5513 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01761/1.045, allocations: 9.209 MB / 0.5603 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0348/1.079, allocations: 32.24 MB / 0.5918 GB, free: 9.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.079, allocations: 0 / 0.5918 GB, free: 9.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/1.079, allocations: 3.938 kB / 0.5918 GB, free: 9.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001031/1.08, allocations: 0 / 0.5918 GB, free: 9.129 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.05532/1.136, allocations: 19 MB / 0.6104 GB, free: 11.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.136, allocations: 8.031 kB / 0.6104 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00819/1.144, allocations: 2.286 MB / 0.6126 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04777/1.192, allocations: 8.279 MB / 0.6207 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02536/1.217, allocations: 10.38 MB / 0.6308 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/1.219, allocations: 1.056 MB / 0.6319 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006481/1.225, allocations: 1.4 MB / 0.6332 GB, free: 4.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06294/1.288, allocations: 22.81 MB / 0.6555 GB, free: 13.99 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006703/1.289, allocations: 23.55 kB / 0.6555 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004827/1.293, allocations: 0.5778 MB / 0.6561 GB, free: 13.41 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009156/1.294, allocations: 0.778 MB / 0.6568 GB, free: 12.63 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0505/1.345, allocations: 21.07 MB / 0.6774 GB, free: 7.562 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/1.482, allocations: 71.08 MB / 0.7468 GB, free: 320 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2636/1.745, allocations: 13.96 MB / 0.7605 GB, free: 192 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007149/1.752, allocations: 4.736 MB / 0.7651 GB, free: 190.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02138/1.774, allocations: 12.67 MB / 0.7775 GB, free: 184.8 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/1.774, allocations: 92.17 kB / 0.7775 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.554e-06/1.774, allocations: 0 / 0.7775 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05179/1.826, allocations: 25.87 MB / 0.8028 GB, free: 174 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/1.826, allocations: 133.5 kB / 0.8029 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008359/1.834, allocations: 5.791 MB / 0.8086 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009429/1.835, allocations: 109.7 kB / 0.8087 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003165/1.838, allocations: 6.373 MB / 0.8149 GB, free: 164.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/1.84, allocations: 1.816 MB / 0.8167 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002159/1.842, allocations: 1.481 MB / 0.8181 GB, free: 161.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/1.842, allocations: 301.1 kB / 0.8184 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004825/1.847, allocations: 3.637 MB / 0.822 GB, free: 157.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006009/1.853, allocations: 6.486 MB / 0.8283 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.865, allocations: 10.79 MB / 0.8389 GB, free: 137.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.426e-05/1.865, allocations: 28 kB / 0.8389 GB, free: 137.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01933/1.884, allocations: 12.03 MB / 0.8506 GB, free: 125.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/1.884, allocations: 44 kB / 0.8507 GB, free: 125.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.885, allocations: 95.98 kB / 0.8508 GB, free: 125.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/1.888, allocations: 1.584 MB / 0.8523 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006009/1.894, allocations: 1.673 MB / 0.8539 GB, free: 122 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.914, allocations: 19.12 MB / 0.8726 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/1.92, allocations: 423.7 kB / 0.873 GB, free: 101.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/1.921, allocations: 371.9 kB / 0.8734 GB, free: 101.6 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.009306/1.931, allocations: 5.207 MB / 0.8785 GB, free: 96.36 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/1.932, allocations: 0.6288 MB / 0.8791 GB, free: 95.73 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.946, allocations: 9.153 MB / 0.888 GB, free: 86.51 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008113/1.954, allocations: 5.86 MB / 0.8937 GB, free: 80.62 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-05/1.954, allocations: 16 kB / 0.8937 GB, free: 80.61 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.487e-05/1.954, allocations: 27.91 kB / 0.8938 GB, free: 80.58 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03587/1.99, allocations: 20.93 MB / 0.9142 GB, free: 59.58 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/1.99, allocations: 8.156 kB / 0.9142 GB, free: 59.57 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00364/1.994, allocations: 0.8737 MB / 0.9151 GB, free: 58.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004322/1.998, allocations: 1.643 MB / 0.9167 GB, free: 57.04 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008743/1.999, allocations: 132 kB / 0.9168 GB, free: 56.91 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/2.02, allocations: 22.5 MB / 0.9388 GB, free: 33.63 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.02, allocations: 11.94 kB / 0.9388 GB, free: 33.62 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/2.039, allocations: 13.57 MB / 0.952 GB, free: 19.72 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003746/2.043, allocations: 1.348 MB / 0.9534 GB, free: 18.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/2.045, allocations: 104 kB / 0.9535 GB, free: 18.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003528/2.048, allocations: 283.6 kB / 0.9537 GB, free: 17.99 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009215/2.049, allocations: 444.1 kB / 0.9541 GB, free: 17.56 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/2.049, allocations: 160 kB / 0.9543 GB, free: 17.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005983/2.055, allocations: 3.904 MB / 0.9581 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.4e-07/2.055, allocations: 0 / 0.9581 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01027/2.066, allocations: 2.34 MB / 0.9604 GB, free: 11.19 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.3012/2.367, allocations: 14.35 MB / 0.9744 GB, free: 174.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01583/2.383, allocations: 9.46 MB / 0.9836 GB, free: 173 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/2.383, allocations: 0 / 0.9836 GB, free: 173 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008364/2.391, allocations: 5.147 MB / 0.9887 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007807/2.399, allocations: 1.645 MB / 0.9903 GB, free: 170 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1317/2.531, allocations: 80.21 MB / 1.069 GB, free: 115.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01117/2.542, allocations: 8.861 MB / 1.077 GB, free: 107.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007008/2.549, allocations: 2.535 MB / 1.08 GB, free: 105.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007683/2.557, allocations: 5.205 MB / 1.085 GB, free: 99.89 MB / 0.5763 GB Notification: Performance of SimCode: time 1.583e-06/2.557, allocations: 0 / 1.085 GB, free: 99.89 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5605/3.117, allocations: 196.1 MB / 1.276 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.24/28.36, allocations: 6.469 kB / 1.276 GB, free: 140.3 MB / 0.5919 GB " [Timeout remaining time 631] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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: 31.40476764785126] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 28.554203189909458 28.577773759 27.493415128 Calling exit ...