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.001799/0.001799, allocations: 106.5 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.002354/0.002354, allocations: 212 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.002101/0.002101, allocations: 68.77 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2824, allocations: 53.36 MB / 432 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03978/0.3221, allocations: 33.72 MB / 465.7 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.3446, allocations: 9.275 MB / 475 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007222/0.3518, allocations: 290.4 kB / 475.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02046/0.3723, allocations: 8.102 MB / 483.3 MB, free: 3.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01546/0.3877, allocations: 3.823 MB / 487.2 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007788/0.3955, allocations: 2.204 MB / 489.4 MB, free: 13.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02247/0.418, allocations: 13.26 MB / 0.4908 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0312/0.4492, allocations: 14.98 MB / 0.5055 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.4622, allocations: 6.752 MB / 0.5121 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/0.4759, allocations: 7.487 MB / 0.5194 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005702/0.4816, allocations: 1.879 MB / 0.5212 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007813/0.4894, allocations: 2.277 MB / 0.5234 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006859/0.4963, allocations: 3.764 MB / 0.5271 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01746/0.5137, allocations: 7.113 MB / 0.5341 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.284/0.7977, allocations: 25.1 MB / 0.5586 GB, free: 41.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.974e-06/0.7977, allocations: 0 / 0.5586 GB, free: 41.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7977, allocations: 1.688 kB / 0.5586 GB, free: 41.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001248/0.799, allocations: 4.062 kB / 0.5586 GB, free: 41.54 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.06108/0.8601, allocations: 14.82 MB / 0.573 GB, free: 35.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.8601, allocations: 10.56 kB / 0.5731 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007765/0.8679, allocations: 1.512 MB / 0.5745 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03919/0.9071, allocations: 6.801 MB / 0.5812 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/0.9264, allocations: 8.189 MB / 0.5892 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007901/0.9272, allocations: 0.792 MB / 0.5899 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005233/0.9324, allocations: 1.044 MB / 0.591 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04797/0.9804, allocations: 17.25 MB / 0.6078 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000683/0.981, allocations: 15.95 kB / 0.6078 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00558/0.9866, allocations: 439.2 kB / 0.6082 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007604/0.9874, allocations: 0.6349 MB / 0.6089 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04258/1.03, allocations: 16.35 MB / 0.6248 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1327/1.163, allocations: 54.05 MB / 0.6776 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02407/1.187, allocations: 11.12 MB / 0.6885 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008787/1.196, allocations: 3.956 MB / 0.6923 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02787/1.223, allocations: 10.36 MB / 0.7025 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.531e-05/1.223, allocations: 84.31 kB / 0.7025 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=398): time 6.723e-06/1.223, allocations: 0 / 0.7025 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.06353/1.287, allocations: 20.96 MB / 0.723 GB, free: 2.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.287, allocations: 127.3 kB / 0.7231 GB, free: 2.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.297, allocations: 4.711 MB / 0.7277 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.298, allocations: 97.7 kB / 0.7278 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004715/1.303, allocations: 4.822 MB / 0.7325 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002438/1.305, allocations: 1.522 MB / 0.734 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003297/1.309, allocations: 1.148 MB / 0.7351 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.309, allocations: 301.1 kB / 0.7354 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005654/1.315, allocations: 2.912 MB / 0.7383 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2512/1.566, allocations: 4.952 MB / 0.7431 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.578, allocations: 8.366 MB / 0.7513 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002388/1.579, allocations: 15.19 kB / 0.7513 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02057/1.599, allocations: 9.736 MB / 0.7608 GB, free: 184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-05/1.599, allocations: 35.97 kB / 0.7608 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/1.599, allocations: 63.84 kB / 0.7609 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004447/1.604, allocations: 1.65 MB / 0.7625 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005175/1.609, allocations: 1.327 MB / 0.7638 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/1.629, allocations: 17.35 MB / 0.7807 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006052/1.635, allocations: 323.8 kB / 0.781 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/1.636, allocations: 289.1 kB / 0.7813 GB, free: 172.5 MB / 0.5606 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.008279/1.645, allocations: 3.89 MB / 0.7851 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/1.646, allocations: 0.5231 MB / 0.7856 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/1.659, allocations: 7.587 MB / 0.793 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.856e-05/1.659, allocations: 44 kB / 0.7931 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.716e-05/1.659, allocations: 20 kB / 0.7931 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-05/1.659, allocations: 22.64 kB / 0.7931 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03334/1.692, allocations: 17.35 MB / 0.8101 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/1.692, allocations: 4 kB / 0.8101 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003264/1.696, allocations: 0.7294 MB / 0.8108 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004012/1.7, allocations: 1.559 MB / 0.8123 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007177/1.7, allocations: 104 kB / 0.8124 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/1.72, allocations: 20.5 MB / 0.8324 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.72, allocations: 12.16 kB / 0.8324 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/1.736, allocations: 11.3 MB / 0.8435 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003414/1.739, allocations: 1.121 MB / 0.8446 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.741, allocations: 87.98 kB / 0.8446 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003898/1.745, allocations: 223.8 kB / 0.8449 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/1.746, allocations: 355.1 kB / 0.8452 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004106/1.746, allocations: 136.1 kB / 0.8453 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006085/1.752, allocations: 3.198 MB / 0.8485 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.752, allocations: 0 / 0.8485 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009058/1.762, allocations: 1.862 MB / 0.8503 GB, free: 105.9 MB / 0.5606 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.01764/1.779, allocations: 12.06 MB / 0.862 GB, free: 93.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01363/1.793, allocations: 7.829 MB / 0.8697 GB, free: 85.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.793, allocations: 0.5 kB / 0.8697 GB, free: 85.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008726/1.802, allocations: 4.397 MB / 0.874 GB, free: 81.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0125/1.814, allocations: 1.318 MB / 0.8753 GB, free: 80.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1613/1.975, allocations: 64.2 MB / 0.938 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01523/1.991, allocations: 6.774 MB / 0.9446 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008205/1.999, allocations: 1.865 MB / 0.9464 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008205/2.007, allocations: 3.944 MB / 0.9503 GB, free: 412 kB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/2.007, allocations: 0 / 0.9503 GB, free: 412 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4755/2.482, allocations: 158.8 MB / 1.105 GB, free: 60.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.07/25.55, allocations: 0 / 1.105 GB, free: 60.77 MB / 0.5606 GB " [Timeout remaining time 634] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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 1e-05 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: 29.623013416770846] 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'] 25.77387167001143 25.790378587 24.988676814 Calling exit ...