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.001316/0.001316, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001563/0.001563, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.002131/0.002131, allocations: 67.89 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2978, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01707/0.3149, allocations: 13.63 MB / 445.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.3268, allocations: 4.567 MB / 450.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.3293, allocations: 95.44 kB / 450.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.3323, allocations: 1.037 MB / 451.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.3365, allocations: 1.328 MB / 452.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.3387, allocations: 0.9105 MB / 453.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006168/0.3449, allocations: 4.076 MB / 457.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.3477, allocations: 1.781 MB / 459.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.3508, allocations: 1.951 MB / 461.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.3547, allocations: 2.285 MB / 463.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.3557, allocations: 0.5078 MB / 464.1 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.3576, allocations: 0.7341 MB / 464.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.3587, allocations: 1.141 MB / 466 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.3614, allocations: 2.139 MB / 468.1 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008158/0.3696, allocations: 6.814 MB / 474.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.3696, allocations: 4 kB / 474.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3696, allocations: 0 / 474.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000167/0.3698, allocations: 4 kB / 474.9 MB, free: 11.67 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.01245/0.3822, allocations: 4.447 MB / 479.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3823, allocations: 12.03 kB / 479.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006515/0.3829, allocations: 451.1 kB / 479.8 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004402/0.3873, allocations: 0.8378 MB / 480.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005686/0.393, allocations: 2.459 MB / 483.1 MB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.3933, allocations: 238.4 kB / 483.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008874/0.3941, allocations: 311.9 kB / 483.7 MB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008222/0.4024, allocations: 4.269 MB / 487.9 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.754e-05/0.4024, allocations: 7.938 kB / 487.9 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.4027, allocations: 132 kB / 488.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.4029, allocations: 146.2 kB / 488.2 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007154/0.4101, allocations: 3.659 MB / 491.9 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/0.4359, allocations: 13.12 MB / 0.4932 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005449/0.4414, allocations: 2.619 MB / 0.4957 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.444, allocations: 1.296 MB / 0.497 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007312/0.4513, allocations: 3.418 MB / 0.5003 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.4514, allocations: 47.56 kB / 0.5004 GB, free: 5.781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.625e-06/0.4514, allocations: 0 / 0.5004 GB, free: 5.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01549/0.4669, allocations: 6.091 MB / 0.5063 GB, free: 15.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.4669, allocations: 68.72 kB / 0.5064 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.4708, allocations: 1.892 MB / 0.5082 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.4711, allocations: 49.7 kB / 0.5083 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.4724, allocations: 1.479 MB / 0.5097 GB, free: 12.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.473, allocations: 0.5112 MB / 0.5102 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.4736, allocations: 303.5 kB / 0.5105 GB, free: 11.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4737, allocations: 301.1 kB / 0.5108 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.4751, allocations: 0.7691 MB / 0.5116 GB, free: 10.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4769, allocations: 1.232 MB / 0.5128 GB, free: 8.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.4802, allocations: 2.1 MB / 0.5148 GB, free: 6.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.4802, allocations: 4 kB / 0.5148 GB, free: 6.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005266/0.4854, allocations: 2.672 MB / 0.5174 GB, free: 3.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.4855, allocations: 12 kB / 0.5174 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/0.4855, allocations: 12 kB / 0.5174 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.487, allocations: 0.5056 MB / 0.5179 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.4886, allocations: 387.4 kB / 0.5183 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00965/0.4983, allocations: 6.723 MB / 0.5249 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.5, allocations: 88 kB / 0.525 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/0.5003, allocations: 71.98 kB / 0.525 GB, free: 11.82 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.002409/0.5027, allocations: 1.052 MB / 0.5261 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/0.5034, allocations: 206.7 kB / 0.5262 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.5085, allocations: 2.334 MB / 0.5285 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.5085, allocations: 19.94 kB / 0.5285 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/0.5086, allocations: 8 kB / 0.5286 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/0.5086, allocations: 3.984 kB / 0.5286 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.5203, allocations: 5.351 MB / 0.5338 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.5203, allocations: 3.984 kB / 0.5338 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.5214, allocations: 219.7 kB / 0.534 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.5229, allocations: 0.4922 MB / 0.5345 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.523, allocations: 35.98 kB / 0.5345 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2157/0.7387, allocations: 10.91 MB / 0.5452 GB, free: 92.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7387, allocations: 2.422 kB / 0.5452 GB, free: 92.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.7439, allocations: 3.408 MB / 0.5485 GB, free: 90.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.7449, allocations: 399.2 kB / 0.5489 GB, free: 90.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.7452, allocations: 33.23 kB / 0.5489 GB, free: 90.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/0.7461, allocations: 64.2 kB / 0.549 GB, free: 90.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.7464, allocations: 115.3 kB / 0.5491 GB, free: 90.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-05/0.7465, allocations: 44.52 kB / 0.5491 GB, free: 90.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001621/0.7481, allocations: 1.303 MB / 0.5504 GB, free: 89.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7481, allocations: 0 / 0.5504 GB, free: 89.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00176/0.7498, allocations: 0.5996 MB / 0.551 GB, free: 89.88 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.004736/0.7546, allocations: 4.026 MB / 0.5549 GB, free: 87.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003409/0.758, allocations: 2.324 MB / 0.5572 GB, free: 86.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.758, allocations: 1 kB / 0.5572 GB, free: 86.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.7601, allocations: 1.663 MB / 0.5588 GB, free: 85.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.7622, allocations: 0.5338 MB / 0.5593 GB, free: 85.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02778/0.79, allocations: 21.38 MB / 0.5802 GB, free: 65.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.7916, allocations: 2.383 MB / 0.5825 GB, free: 62.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001174/0.7928, allocations: 421 kB / 0.5829 GB, free: 62.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.7939, allocations: 1.163 MB / 0.5841 GB, free: 61.36 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7939, allocations: 0 / 0.5841 GB, free: 61.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09601/0.8899, allocations: 57.45 MB / 0.6402 GB, free: 4.371 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.99, allocations: 15.78 kB / 0.6402 GB, free: 4.355 MB / 446.1 MB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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: 18.649680625647306] 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'] 16.115700426977128 16.138662852 15.765059286 Calling exit ...