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.001398/0.001398, allocations: 109.5 kB / 19.74 MB, free: 2.586 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.001486/0.001486, allocations: 223.1 kB / 22.92 MB, free: 5.559 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.288/1.288, allocations: 230.5 MB / 256.4 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 179] 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.001795/0.001795, allocations: 63.84 kB / 376.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2091, allocations: 53.31 MB / 429.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03938/0.2485, allocations: 39.16 MB / 468.6 MB, free: 84 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.2687, allocations: 10.35 MB / 479 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006063/0.2748, allocations: 295 kB / 479.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0218/0.2966, allocations: 10.31 MB / 489.6 MB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.3082, allocations: 4.122 MB / 493.7 MB, free: 6.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006403/0.3146, allocations: 2.462 MB / 496.1 MB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02069/0.3353, allocations: 16.54 MB / 0.5007 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02819/0.3634, allocations: 19.36 MB / 0.5196 GB, free: 292 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/0.3742, allocations: 8.54 MB / 0.5279 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3498/0.724, allocations: 9.596 MB / 0.5373 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005283/0.7293, allocations: 2.417 MB / 0.5396 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00711/0.7364, allocations: 2.835 MB / 0.5424 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005674/0.7421, allocations: 4.836 MB / 0.5471 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01267/0.7547, allocations: 9.206 MB / 0.5561 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02549/0.7802, allocations: 32.23 MB / 0.5876 GB, free: 9.621 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7802, allocations: 0 / 0.5876 GB, free: 9.621 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.7802, allocations: 0 / 0.5876 GB, free: 9.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006843/0.7809, allocations: 0 / 0.5876 GB, free: 9.621 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.04639/0.8273, allocations: 19.08 MB / 0.6062 GB, free: 13.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.8274, allocations: 8.031 kB / 0.6062 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006772/0.8341, allocations: 2.283 MB / 0.6085 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04524/0.8794, allocations: 8.284 MB / 0.6166 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02069/0.9001, allocations: 10.29 MB / 0.6266 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/0.9011, allocations: 1.058 MB / 0.6276 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0047/0.9058, allocations: 1.402 MB / 0.629 GB, free: 6.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04684/0.9526, allocations: 22.8 MB / 0.6513 GB, free: 15.38 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003288/0.953, allocations: 15.91 kB / 0.6513 GB, free: 15.37 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002342/0.9553, allocations: 0.5858 MB / 0.6519 GB, free: 14.8 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000729/0.956, allocations: 0.7754 MB / 0.6526 GB, free: 14.02 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0411/0.9971, allocations: 21.06 MB / 0.6732 GB, free: 8.957 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2902/1.287, allocations: 72.88 MB / 0.7444 GB, free: 174.9 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0248/1.312, allocations: 42.12 MB / 0.7855 GB, free: 139.4 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006305/1.318, allocations: 4.744 MB / 0.7901 GB, free: 139.3 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01688/1.335, allocations: 13.04 MB / 0.8029 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/1.335, allocations: 83.86 kB / 0.8029 GB, free: 137.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.144e-06/1.335, allocations: 3.625 kB / 0.8029 GB, free: 137.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.04534/1.381, allocations: 26.61 MB / 0.8289 GB, free: 126.1 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/1.381, allocations: 133.8 kB / 0.8291 GB, free: 126 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006639/1.387, allocations: 5.791 MB / 0.8347 GB, free: 123.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.000673/1.388, allocations: 108.4 kB / 0.8348 GB, free: 123.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00236/1.39, allocations: 6.375 MB / 0.841 GB, free: 119 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.392, allocations: 1.815 MB / 0.8428 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/1.394, allocations: 1.483 MB / 0.8443 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.239e-05/1.394, allocations: 301.1 kB / 0.8445 GB, free: 116.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004078/1.398, allocations: 3.636 MB / 0.8481 GB, free: 115.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/1.403, allocations: 6.486 MB / 0.8544 GB, free: 109.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009605/1.412, allocations: 10.78 MB / 0.865 GB, free: 98.78 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.043e-05/1.412, allocations: 32 kB / 0.865 GB, free: 98.75 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01573/1.428, allocations: 12.11 MB / 0.8768 GB, free: 86.57 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/1.428, allocations: 47.94 kB / 0.8769 GB, free: 86.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.428, allocations: 92 kB / 0.8769 GB, free: 86.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/1.432, allocations: 1.595 MB / 0.8785 GB, free: 84.83 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005528/1.438, allocations: 1.677 MB / 0.8801 GB, free: 83.15 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/1.455, allocations: 19.62 MB / 0.8993 GB, free: 62.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005321/1.46, allocations: 423.6 kB / 0.8997 GB, free: 62.43 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.462, allocations: 380 kB / 0.9001 GB, free: 62.06 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.007188/1.469, allocations: 5.199 MB / 0.9051 GB, free: 56.84 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.47, allocations: 0.6289 MB / 0.9058 GB, free: 56.21 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.483, allocations: 9.312 MB / 0.9149 GB, free: 46.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00705/1.49, allocations: 5.856 MB / 0.9206 GB, free: 40.91 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.45e-05/1.49, allocations: 16 kB / 0.9206 GB, free: 40.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.975e-05/1.49, allocations: 27.89 kB / 0.9206 GB, free: 40.87 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02722/1.517, allocations: 21.01 MB / 0.9411 GB, free: 19.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.517, allocations: 4 kB / 0.9411 GB, free: 19.74 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.52, allocations: 0.8745 MB / 0.942 GB, free: 18.86 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003759/1.524, allocations: 1.646 MB / 0.9436 GB, free: 17.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002993/1.524, allocations: 127.9 kB / 0.9437 GB, free: 17.07 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2069/1.731, allocations: 23.2 MB / 0.9664 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.731, allocations: 10.62 kB / 0.9664 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.748, allocations: 13.73 MB / 0.9798 GB, free: 167.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/1.751, allocations: 1.398 MB / 0.9812 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008895/1.752, allocations: 106.8 kB / 0.9813 GB, free: 167.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.755, allocations: 277.3 kB / 0.9815 GB, free: 167.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007754/1.755, allocations: 419.2 kB / 0.9819 GB, free: 167 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/1.756, allocations: 166 kB / 0.9821 GB, free: 167 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00455/1.76, allocations: 3.905 MB / 0.9859 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.4e-07/1.76, allocations: 0 / 0.9859 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00685/1.767, allocations: 2.339 MB / 0.9882 GB, free: 165.4 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.01633/1.783, allocations: 14.51 MB / 1.002 GB, free: 158.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.796, allocations: 9.533 MB / 1.012 GB, free: 154.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.796, allocations: 0 / 1.012 GB, free: 154.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006498/1.802, allocations: 5.145 MB / 1.017 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006375/1.808, allocations: 1.65 MB / 1.018 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09587/1.904, allocations: 80.34 MB / 1.097 GB, free: 77.16 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007009/1.911, allocations: 8.864 MB / 1.105 GB, free: 68.25 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005489/1.917, allocations: 2.531 MB / 1.108 GB, free: 65.71 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005601/1.922, allocations: 5.201 MB / 1.113 GB, free: 60.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.172e-06/1.922, allocations: 0 / 1.113 GB, free: 60.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.425/2.347, allocations: 190.2 MB / 1.299 GB, free: 112.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.59/23.94, allocations: 8.625 kB / 1.299 GB, free: 112.2 MB / 0.5919 GB " [Timeout remaining time 636] (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 --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: 26.634146901997156]