Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001439/0.001439, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002081/0.002081, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_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.002078/0.002078, allocations: 60.77 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2888, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01707/0.3059, allocations: 13.64 MB / 445.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00923/0.3151, allocations: 4.561 MB / 450.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.3176, allocations: 95.44 kB / 450.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.3207, allocations: 1.041 MB / 451.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.3249, allocations: 1.328 MB / 452.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.3272, allocations: 0.915 MB / 453.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.3328, allocations: 4.07 MB / 457.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/0.3356, allocations: 1.785 MB / 459.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.339, allocations: 1.955 MB / 461.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/0.3431, allocations: 2.277 MB / 463.6 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.3441, allocations: 0.5117 MB / 464.1 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.346, allocations: 0.7302 MB / 464.8 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.3473, allocations: 1.145 MB / 466 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003475/0.3508, allocations: 2.139 MB / 468.1 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.3612, allocations: 6.817 MB / 474.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3612, allocations: 0 / 474.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3612, allocations: 0 / 474.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001996/0.3614, allocations: 0 / 474.9 MB, free: 11.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01312/0.3745, allocations: 4.451 MB / 479.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3745, allocations: 8.031 kB / 479.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007989/0.3753, allocations: 451.1 kB / 479.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/0.3799, allocations: 0.8417 MB / 480.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.3855, allocations: 2.455 MB / 483.1 MB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.3857, allocations: 242.4 kB / 483.4 MB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008459/0.3866, allocations: 308 kB / 483.7 MB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008874/0.3954, allocations: 4.269 MB / 487.9 MB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.31e-05/0.3955, allocations: 7.953 kB / 488 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/0.3959, allocations: 124 kB / 488.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.396, allocations: 146.2 kB / 488.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007501/0.4035, allocations: 3.671 MB / 491.9 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02389/0.4274, allocations: 13.12 MB / 0.4932 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/0.4325, allocations: 2.623 MB / 0.4957 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.4347, allocations: 1.304 MB / 0.497 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006493/0.4412, allocations: 3.41 MB / 0.5003 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.4413, allocations: 43.56 kB / 0.5004 GB, free: 5.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.965e-06/0.4413, allocations: 0 / 0.5004 GB, free: 5.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01365/0.4549, allocations: 6.087 MB / 0.5063 GB, free: 15.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.455, allocations: 68.72 kB / 0.5064 GB, free: 15.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.4579, allocations: 1.884 MB / 0.5082 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.4581, allocations: 53.7 kB / 0.5083 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.4593, allocations: 1.482 MB / 0.5097 GB, free: 12.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004962/0.4598, allocations: 0.5112 MB / 0.5102 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000505/0.4603, allocations: 307.5 kB / 0.5105 GB, free: 11.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4604, allocations: 301.1 kB / 0.5108 GB, free: 11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.4618, allocations: 0.7574 MB / 0.5115 GB, free: 10.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.4635, allocations: 1.232 MB / 0.5127 GB, free: 8.812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.4666, allocations: 2.108 MB / 0.5148 GB, free: 6.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/0.4666, allocations: 8 kB / 0.5148 GB, free: 6.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004962/0.4716, allocations: 2.664 MB / 0.5174 GB, free: 3.828 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.4716, allocations: 19.25 kB / 0.5174 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.4716, allocations: 16 kB / 0.5174 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.4731, allocations: 0.5014 MB / 0.5179 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.4746, allocations: 387.4 kB / 0.5183 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009301/0.4839, allocations: 6.723 MB / 0.5249 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.4855, allocations: 79.86 kB / 0.5249 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.4857, allocations: 71.98 kB / 0.525 GB, free: 11.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002146/0.4878, allocations: 1.058 MB / 0.526 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/0.4883, allocations: 206.7 kB / 0.5262 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/0.4928, allocations: 2.338 MB / 0.5285 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.4928, allocations: 15.94 kB / 0.5285 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.4929, allocations: 8 kB / 0.5286 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.4929, allocations: 7.969 kB / 0.5286 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009634/0.5025, allocations: 5.351 MB / 0.5338 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.5025, allocations: 0 / 0.5338 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.5037, allocations: 223.9 kB / 0.534 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.5051, allocations: 0.4958 MB / 0.5345 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.5052, allocations: 35.98 kB / 0.5345 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2248/0.73, allocations: 10.91 MB / 0.5452 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.73, allocations: 3.578 kB / 0.5452 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/0.7354, allocations: 3.411 MB / 0.5485 GB, free: 90.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.7365, allocations: 401.6 kB / 0.5489 GB, free: 90.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/0.7368, allocations: 29 kB / 0.5489 GB, free: 90.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009504/0.7378, allocations: 65.41 kB / 0.549 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.7381, allocations: 124.9 kB / 0.5491 GB, free: 90.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.635e-05/0.7382, allocations: 40.48 kB / 0.5491 GB, free: 90.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001708/0.7399, allocations: 1.305 MB / 0.5504 GB, free: 89.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7399, allocations: 0 / 0.5504 GB, free: 89.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002039/0.7419, allocations: 0.5956 MB / 0.551 GB, free: 89.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,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.00489/0.7468, allocations: 4.027 MB / 0.5549 GB, free: 87.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003525/0.7503, allocations: 2.323 MB / 0.5572 GB, free: 86.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.7503, allocations: 0 / 0.5572 GB, free: 86.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.7526, allocations: 1.664 MB / 0.5588 GB, free: 85.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.7549, allocations: 0.537 MB / 0.5593 GB, free: 85.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/0.7831, allocations: 21.39 MB / 0.5802 GB, free: 65.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.7847, allocations: 2.379 MB / 0.5825 GB, free: 62.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.7859, allocations: 421 kB / 0.5829 GB, free: 62.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.787, allocations: 1.163 MB / 0.5841 GB, free: 61.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.753e-06/0.787, allocations: 0 / 0.5841 GB, free: 61.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09987/0.8869, allocations: 57.44 MB / 0.6402 GB, free: 4.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.23, allocations: 22.81 kB / 0.6402 GB, free: 4.207 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.822182612959296] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w'] 15.345709750894457 15.372113278 15.005408149 Calling exit ...