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_Initialize.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.001516/0.001516, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001249/0.001249, allocations: 189 kB / 21.43 MB, free: 1.641 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.363/1.363, allocations: 225.6 MB / 249.8 MB, free: 3.617 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_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 47.92 kB / 366.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09388, allocations: 52.15 MB / 418.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2205/0.3143, allocations: 32.98 MB / 451.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.3298, allocations: 8.993 MB / 460.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007536/0.3374, allocations: 287.1 kB / 460.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01701/0.3544, allocations: 8.053 MB / 468.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.3661, allocations: 3.743 MB / 472.6 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00599/0.3721, allocations: 2.107 MB / 474.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01931/0.3914, allocations: 13.01 MB / 487.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03105/0.4224, allocations: 16.88 MB / 0.4928 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01182/0.4343, allocations: 6.69 MB / 0.4993 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/0.4475, allocations: 7.3 MB / 0.5064 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006343/0.4539, allocations: 1.883 MB / 0.5083 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009282/0.4631, allocations: 2.246 MB / 0.5104 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006414/0.4696, allocations: 3.766 MB / 0.5141 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01305/0.4826, allocations: 7.102 MB / 0.5211 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03274/0.5153, allocations: 25.05 MB / 0.5455 GB, free: 11.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5153, allocations: 0 / 0.5455 GB, free: 11.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5153, allocations: 0 / 0.5455 GB, free: 11.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005803/0.5159, allocations: 0 / 0.5455 GB, free: 11.47 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.04546/0.5614, allocations: 14.83 MB / 0.56 GB, free: 12.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5614, allocations: 8.031 kB / 0.56 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003041/0.5617, allocations: 289.9 kB / 0.5603 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005339/0.5671, allocations: 1.511 MB / 0.5618 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0393/0.6064, allocations: 6.852 MB / 0.5685 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0174/0.6238, allocations: 8.113 MB / 0.5764 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007805/0.6246, allocations: 0.7859 MB / 0.5771 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003788/0.6284, allocations: 1.053 MB / 0.5782 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03917/0.6675, allocations: 17.21 MB / 0.595 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003002/0.6678, allocations: 23.84 kB / 0.595 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/0.6701, allocations: 442.8 kB / 0.5954 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000665/0.6708, allocations: 0.6275 MB / 0.596 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03206/0.7028, allocations: 16.31 MB / 0.612 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4315/1.134, allocations: 55.28 MB / 0.666 GB, free: 127.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02164/1.156, allocations: 30.6 MB / 0.6958 GB, free: 100.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005448/1.161, allocations: 3.935 MB / 0.6997 GB, free: 98.02 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/1.178, allocations: 10.43 MB / 0.7099 GB, free: 90.98 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.178, allocations: 77.22 kB / 0.7099 GB, free: 90.91 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.33e-06/1.178, allocations: 0 / 0.7099 GB, free: 90.91 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.04193/1.22, allocations: 21.76 MB / 0.7312 GB, free: 77.83 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/1.22, allocations: 131.8 kB / 0.7313 GB, free: 77.72 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006948/1.227, allocations: 4.672 MB / 0.7359 GB, free: 73.55 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007722/1.228, allocations: 101.6 kB / 0.736 GB, free: 73.45 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.23, allocations: 4.812 MB / 0.7407 GB, free: 69.14 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/1.231, allocations: 1.517 MB / 0.7422 GB, free: 67.64 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/1.233, allocations: 1.133 MB / 0.7433 GB, free: 66.49 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/1.233, allocations: 305.1 kB / 0.7436 GB, free: 66.19 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/1.236, allocations: 2.908 MB / 0.7464 GB, free: 63.28 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004201/1.24, allocations: 4.949 MB / 0.7512 GB, free: 57.4 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008587/1.249, allocations: 8.337 MB / 0.7594 GB, free: 48.12 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.667e-05/1.249, allocations: 20 kB / 0.7594 GB, free: 48.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01541/1.264, allocations: 9.695 MB / 0.7689 GB, free: 38.36 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/1.264, allocations: 36.62 kB / 0.7689 GB, free: 38.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.655e-05/1.264, allocations: 64 kB / 0.769 GB, free: 38.26 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004207/1.269, allocations: 1.656 MB / 0.7706 GB, free: 36.59 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004495/1.273, allocations: 1.322 MB / 0.7719 GB, free: 35.27 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/1.292, allocations: 17.78 MB / 0.7892 GB, free: 16.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00511/1.297, allocations: 335.7 kB / 0.7895 GB, free: 16.62 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.299, allocations: 280 kB / 0.7898 GB, free: 16.34 MB / 0.5138 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.007902/1.307, allocations: 3.888 MB / 0.7936 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/1.308, allocations: 0.5085 MB / 0.7941 GB, free: 11.93 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.322, allocations: 7.733 MB / 0.8017 GB, free: 4.094 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/1.322, allocations: 40 kB / 0.8017 GB, free: 4.055 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.517e-05/1.322, allocations: 16 kB / 0.8017 GB, free: 4.039 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.476e-05/1.322, allocations: 23.92 kB / 0.8017 GB, free: 4.016 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03435/1.357, allocations: 17.41 MB / 0.8187 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-05/1.357, allocations: 12.66 kB / 0.8187 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003263/1.36, allocations: 0.7294 MB / 0.8195 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004507/1.365, allocations: 1.552 MB / 0.821 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005868/1.365, allocations: 104 kB / 0.8211 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0258/1.391, allocations: 21.21 MB / 0.8418 GB, free: 9.875 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.391, allocations: 11.94 kB / 0.8418 GB, free: 9.863 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2168/1.608, allocations: 11.42 MB / 0.8529 GB, free: 181.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003177/1.611, allocations: 1.172 MB / 0.8541 GB, free: 181.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.612, allocations: 83.16 kB / 0.8542 GB, free: 181.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003295/1.616, allocations: 234.3 kB / 0.8544 GB, free: 181.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000861/1.616, allocations: 332.1 kB / 0.8547 GB, free: 181.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/1.617, allocations: 130.4 kB / 0.8548 GB, free: 181.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00577/1.623, allocations: 3.169 MB / 0.8579 GB, free: 181 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.9e-07/1.623, allocations: 0.8438 kB / 0.8579 GB, free: 181 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007657/1.63, allocations: 1.857 MB / 0.8597 GB, free: 181 MB / 0.5607 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.01924/1.649, allocations: 12.15 MB / 0.8716 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.663, allocations: 7.827 MB / 0.8792 GB, free: 174.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.663, allocations: 3.938 kB / 0.8793 GB, free: 174.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006898/1.67, allocations: 4.393 MB / 0.8835 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007425/1.677, allocations: 1.301 MB / 0.8848 GB, free: 171.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09298/1.77, allocations: 64.03 MB / 0.9473 GB, free: 120.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005832/1.776, allocations: 6.773 MB / 0.954 GB, free: 114 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004529/1.781, allocations: 1.853 MB / 0.9558 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004449/1.785, allocations: 3.912 MB / 0.9596 GB, free: 108.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.182e-06/1.785, allocations: 4 kB / 0.9596 GB, free: 108.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.401/2.186, allocations: 153 MB / 1.109 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.61/22.79, allocations: 6.25 kB / 1.109 GB, free: 162.8 MB / 0.5607 GB " [Timeout remaining time 637] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 78.62713913200423] 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'] 23.01090206502704 23.020392463 22.502591146 Calling exit ...