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_Initialize.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.00156/0.00156, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001868/0.001868, allocations: 218.8 kB / 23 MB, free: 5.617 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.416/1.416, allocations: 230.4 MB / 256.5 MB, free: 8.418 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_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",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.001901/0.001901, allocations: 71.81 kB / 376.3 MB, free: 3.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2691, allocations: 53.31 MB / 429.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03827/0.3074, allocations: 33.7 MB / 463.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.3286, allocations: 9.29 MB / 472.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006088/0.3347, allocations: 243.2 kB / 472.8 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01985/0.3546, allocations: 8.058 MB / 480.8 MB, free: 3.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.3674, allocations: 3.752 MB / 484.6 MB, free: 160 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007237/0.3747, allocations: 2.167 MB / 486.8 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02031/0.395, allocations: 13.16 MB / 499.9 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02623/0.4212, allocations: 13.92 MB / 0.5018 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01104/0.4323, allocations: 6.619 MB / 0.5083 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/0.4449, allocations: 7.475 MB / 0.5156 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004988/0.4499, allocations: 1.887 MB / 0.5174 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007034/0.4569, allocations: 2.261 MB / 0.5196 GB, free: 428 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006072/0.463, allocations: 3.764 MB / 0.5233 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01388/0.4769, allocations: 7.113 MB / 0.5302 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2647/0.7415, allocations: 25.11 MB / 0.5548 GB, free: 41.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7416, allocations: 0 / 0.5548 GB, free: 41.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7416, allocations: 0 / 0.5548 GB, free: 41.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009864/0.7425, allocations: 3.062 kB / 0.5548 GB, free: 41.03 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04974/0.7923, allocations: 14.89 MB / 0.5693 GB, free: 34.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.7923, allocations: 10.19 kB / 0.5693 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009911/0.8023, allocations: 1.511 MB / 0.5708 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03816/0.8404, allocations: 6.798 MB / 0.5774 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/0.857, allocations: 8.164 MB / 0.5854 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006732/0.8576, allocations: 0.7896 MB / 0.5862 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006249/0.8639, allocations: 1.05 MB / 0.5872 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04902/0.9129, allocations: 17.26 MB / 0.6041 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004696/0.9134, allocations: 23.03 kB / 0.6041 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003887/0.9173, allocations: 444.7 kB / 0.6045 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005451/0.9178, allocations: 0.6314 MB / 0.6051 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0364/0.9542, allocations: 16.34 MB / 0.6211 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/1.068, allocations: 56.48 MB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03317/1.101, allocations: 30.95 MB / 0.7064 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007666/1.109, allocations: 3.967 MB / 0.7103 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01993/1.128, allocations: 10.77 MB / 0.7208 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.326e-05/1.129, allocations: 77.47 kB / 0.7209 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=398): time 5.961e-06/1.129, allocations: 0 / 0.7209 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=423): time 0.05368/1.182, allocations: 21.79 MB / 0.7422 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/1.182, allocations: 120.7 kB / 0.7423 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007873/1.19, allocations: 4.711 MB / 0.7469 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008395/1.191, allocations: 97.7 kB / 0.747 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2294/1.42, allocations: 4.819 MB / 0.7517 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/1.422, allocations: 1.523 MB / 0.7532 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/1.424, allocations: 1.148 MB / 0.7543 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.946e-05/1.424, allocations: 309.8 kB / 0.7546 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/1.428, allocations: 2.912 MB / 0.7575 GB, free: 209 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004863/1.433, allocations: 4.955 MB / 0.7623 GB, free: 206 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009389/1.442, allocations: 8.367 MB / 0.7705 GB, free: 200.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.442, allocations: 23.97 kB / 0.7705 GB, free: 200.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01738/1.46, allocations: 9.726 MB / 0.78 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.62e-05/1.46, allocations: 36.56 kB / 0.78 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/1.46, allocations: 65.22 kB / 0.7801 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004234/1.464, allocations: 1.647 MB / 0.7817 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00498/1.469, allocations: 1.323 MB / 0.783 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/1.488, allocations: 17.77 MB / 0.8003 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/1.494, allocations: 330.6 kB / 0.8006 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.495, allocations: 283.4 kB / 0.8009 GB, free: 178.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006144/1.501, allocations: 3.901 MB / 0.8047 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/1.502, allocations: 0.5161 MB / 0.8052 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.515, allocations: 7.73 MB / 0.8128 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/1.515, allocations: 40 kB / 0.8128 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.031e-05/1.515, allocations: 16 kB / 0.8128 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/1.515, allocations: 23.2 kB / 0.8129 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02816/1.543, allocations: 17.47 MB / 0.8299 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.543, allocations: 11.75 kB / 0.8299 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002957/1.546, allocations: 0.7337 MB / 0.8306 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00376/1.55, allocations: 1.554 MB / 0.8322 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004376/1.551, allocations: 112 kB / 0.8323 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01821/1.569, allocations: 21.22 MB / 0.853 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.569, allocations: 7.938 kB / 0.853 GB, free: 127 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.584, allocations: 11.45 MB / 0.8642 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002937/1.587, allocations: 1.177 MB / 0.8653 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.588, allocations: 92 kB / 0.8654 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/1.591, allocations: 227.8 kB / 0.8656 GB, free: 113.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008035/1.592, allocations: 332.6 kB / 0.866 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/1.593, allocations: 140 kB / 0.8661 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004695/1.597, allocations: 3.186 MB / 0.8692 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.597, allocations: 4 kB / 0.8692 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008629/1.606, allocations: 1.871 MB / 0.871 GB, free: 108.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/1.622, allocations: 12.2 MB / 0.8829 GB, free: 95.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.634, allocations: 7.837 MB / 0.8906 GB, free: 88.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.634, allocations: 4 kB / 0.8906 GB, free: 88.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006767/1.641, allocations: 4.397 MB / 0.8949 GB, free: 83.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006456/1.647, allocations: 1.319 MB / 0.8962 GB, free: 82.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3333/1.98, allocations: 64.19 MB / 0.9589 GB, free: 211.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01166/1.992, allocations: 6.781 MB / 0.9655 GB, free: 211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005343/1.997, allocations: 1.864 MB / 0.9673 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005906/2.003, allocations: 3.946 MB / 0.9712 GB, free: 210.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/2.003, allocations: 4.938 kB / 0.9712 GB, free: 210.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2179/2.221, allocations: 154.2 MB / 1.122 GB, free: 73.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.31/24.53, allocations: 4 kB / 1.122 GB, free: 73.34 MB / 0.5762 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.344178309984272] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.airGap.V_mrr.im', 'imc.airGap.V_mrr.re', 'imc.airGap.V_msr.im', 'imc.airGap.V_msr.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.port_p.V_m.im', 'imc.stator.port_p.V_m.re', 'imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w', 'loadInertiaQS.phi', 'loadInertiaQS.w'] 24.70167516800575 24.71243225 23.967942103 Calling exit ...