Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 122.4 kB / 17.74 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 186.9 kB / 20.68 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_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_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 47.92 kB / 357.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1106, allocations: 49.45 MB / 407 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2844/0.395, allocations: 38.27 MB / 445.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02302/0.4181, allocations: 10.03 MB / 455.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01054/0.4286, allocations: 290.4 kB / 455.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02594/0.4546, allocations: 10.18 MB / 465.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.018/0.4726, allocations: 4.041 MB / 469.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00937/0.482, allocations: 2.379 MB / 472.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02606/0.5081, allocations: 16.37 MB / 488.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05183/0.56, allocations: 31.21 MB / 0.5076 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01768/0.5777, allocations: 8.462 MB / 0.5158 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01711/0.5949, allocations: 9.32 MB / 0.5249 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00747/0.6024, allocations: 2.418 MB / 0.5273 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.6147, allocations: 2.816 MB / 0.53 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01025/0.625, allocations: 4.805 MB / 0.5347 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0211/0.6461, allocations: 9.199 MB / 0.5437 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04738/0.6936, allocations: 32.18 MB / 0.5751 GB, free: 5.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.6936, allocations: 4 kB / 0.5751 GB, free: 5.488 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6936, allocations: 0 / 0.5751 GB, free: 5.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009336/0.6946, allocations: 0 / 0.5751 GB, free: 5.488 MB / 478.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.06492/0.7595, allocations: 19.01 MB / 0.5937 GB, free: 2.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.7596, allocations: 19.88 kB / 0.5937 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008822/0.7684, allocations: 2.286 MB / 0.596 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04848/0.8169, allocations: 8.371 MB / 0.6041 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4475/1.264, allocations: 10.23 MB / 0.6141 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001404/1.266, allocations: 1.062 MB / 0.6152 GB, free: 134 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006776/1.273, allocations: 1.395 MB / 0.6165 GB, free: 134 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06104/1.334, allocations: 22.75 MB / 0.6387 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005894/1.334, allocations: 22.39 kB / 0.6388 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004655/1.339, allocations: 0.581 MB / 0.6393 GB, free: 127.1 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006839/1.34, allocations: 0.7836 MB / 0.6401 GB, free: 127.1 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04005/1.38, allocations: 21.02 MB / 0.6606 GB, free: 116.6 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1071/1.487, allocations: 72.18 MB / 0.7311 GB, free: 44.34 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02897/1.516, allocations: 42.4 MB / 0.7725 GB, free: 13.01 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009893/1.526, allocations: 5.166 MB / 0.7776 GB, free: 7.824 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02631/1.552, allocations: 12.69 MB / 0.7899 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.991e-05/1.552, allocations: 82.77 kB / 0.79 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 7.123e-06/1.552, allocations: 0 / 0.79 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.07142/1.624, allocations: 26.61 MB / 0.816 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.624, allocations: 133.3 kB / 0.8161 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2594/1.883, allocations: 5.755 MB / 0.8218 GB, free: 167.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.885, allocations: 108.6 kB / 0.8219 GB, free: 167.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004781/1.889, allocations: 6.362 MB / 0.8281 GB, free: 166.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/1.892, allocations: 1.813 MB / 0.8298 GB, free: 165.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/1.894, allocations: 1.469 MB / 0.8313 GB, free: 165.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/1.894, allocations: 303.1 kB / 0.8316 GB, free: 164.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006611/1.901, allocations: 3.627 MB / 0.8351 GB, free: 164.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008791/1.91, allocations: 6.475 MB / 0.8414 GB, free: 159.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/1.924, allocations: 10.76 MB / 0.8519 GB, free: 151.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/1.924, allocations: 29.81 kB / 0.852 GB, free: 151.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02251/1.947, allocations: 12.12 MB / 0.8638 GB, free: 146.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/1.947, allocations: 47.03 kB / 0.8638 GB, free: 146.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/1.947, allocations: 89.91 kB / 0.8639 GB, free: 146.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004388/1.951, allocations: 1.589 MB / 0.8655 GB, free: 146.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006197/1.958, allocations: 1.669 MB / 0.8671 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/1.98, allocations: 19.63 MB / 0.8863 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007403/1.987, allocations: 430.5 kB / 0.8867 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001752/1.989, allocations: 366.1 kB / 0.887 GB, free: 133 MB / 0.545 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.01056/1.999, allocations: 5.192 MB / 0.8921 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002256/2.002, allocations: 0.6288 MB / 0.8927 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0189/2.021, allocations: 9.355 MB / 0.9019 GB, free: 122.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01/2.031, allocations: 5.867 MB / 0.9076 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.411e-05/2.031, allocations: 24 kB / 0.9076 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/2.031, allocations: 25.03 kB / 0.9076 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04048/2.071, allocations: 21 MB / 0.9282 GB, free: 96.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/2.072, allocations: 8 kB / 0.9282 GB, free: 96.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00381/2.075, allocations: 0.8581 MB / 0.929 GB, free: 95.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004527/2.08, allocations: 1.642 MB / 0.9306 GB, free: 94.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009093/2.081, allocations: 120.8 kB / 0.9307 GB, free: 94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/2.103, allocations: 23.22 MB / 0.9534 GB, free: 69.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/2.103, allocations: 15.94 kB / 0.9534 GB, free: 69.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02255/2.126, allocations: 13.74 MB / 0.9668 GB, free: 55.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005204/2.131, allocations: 1.395 MB / 0.9682 GB, free: 54.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002414/2.133, allocations: 100 kB / 0.9683 GB, free: 54.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004484/2.138, allocations: 291.7 kB / 0.9686 GB, free: 53.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001646/2.139, allocations: 412.3 kB / 0.969 GB, free: 53.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000858/2.14, allocations: 155.7 kB / 0.9691 GB, free: 53.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007283/2.148, allocations: 3.883 MB / 0.9729 GB, free: 49.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.81e-07/2.148, allocations: 4 kB / 0.9729 GB, free: 49.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01146/2.159, allocations: 2.332 MB / 0.9752 GB, free: 47.18 MB / 0.545 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,13,100.0%), (1,5,100.0%), (1,8,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.02353/2.183, allocations: 14.54 MB / 0.9894 GB, free: 32.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01658/2.199, allocations: 9.89 MB / 0.999 GB, free: 22.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/2.199, allocations: 4 kB / 0.999 GB, free: 22.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009484/2.209, allocations: 5.446 MB / 1.004 GB, free: 16.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01183/2.221, allocations: 1.622 MB / 1.006 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3802/2.601, allocations: 80.26 MB / 1.084 GB, free: 136.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/2.611, allocations: 8.854 MB / 1.093 GB, free: 127.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006466/2.618, allocations: 2.529 MB / 1.095 GB, free: 125.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006917/2.625, allocations: 5.162 MB / 1.1 GB, free: 119.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/2.625, allocations: 5.094 kB / 1.1 GB, free: 119.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5174/3.142, allocations: 187.3 MB / 1.283 GB, free: 150.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.81/27.95, allocations: 5.469 kB / 1.283 GB, free: 150.3 MB / 0.5607 GB " [Timeout remaining time 632] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 31.04408405185677] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 28.131165771046653 28.143659219 27.447664753 Calling exit ...