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_Steinmetz.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.001356/0.001356, allocations: 116.8 kB / 18.5 MB, free: 4.539 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.001498/0.001498, allocations: 212.9 kB / 21.46 MB, free: 1.59 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.488/1.488, allocations: 230.5 MB / 254.8 MB, free: 15.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",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.002051/0.002051, allocations: 68.06 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1172, allocations: 53.33 MB / 427 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.2392/0.3564, allocations: 14.33 MB / 441.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009324/0.3657, allocations: 4.694 MB / 446.1 MB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003008/0.3687, allocations: 103.6 kB / 446.2 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.3726, allocations: 1.066 MB / 447.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006304/0.3789, allocations: 1.335 MB / 448.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.3824, allocations: 0.9377 MB / 449.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007896/0.3903, allocations: 4.138 MB / 453.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0043/0.3946, allocations: 2.256 MB / 455.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.3995, allocations: 1.951 MB / 457.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005918/0.4054, allocations: 2.241 MB / 460.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00213/0.4075, allocations: 0.5089 MB / 460.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003753/0.4113, allocations: 0.7334 MB / 461.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002276/0.4136, allocations: 1.122 MB / 462.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006222/0.4198, allocations: 2.139 MB / 464.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.4308, allocations: 6.762 MB / 471.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.4308, allocations: 0 / 471.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4308, allocations: 0 / 471.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003394/0.4311, allocations: 3.938 kB / 471.3 MB, free: 1.789 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.0159/0.447, allocations: 4.528 MB / 475.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.4471, allocations: 9.656 kB / 475.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00139/0.4485, allocations: 454.1 kB / 476.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/0.4538, allocations: 0.8352 MB / 477.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006414/0.4602, allocations: 2.458 MB / 479.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.4605, allocations: 250.8 kB / 479.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.4616, allocations: 327.9 kB / 480.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.4728, allocations: 4.267 MB / 484.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.871e-05/0.4729, allocations: 11.95 kB / 484.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.4733, allocations: 136 kB / 484.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.4734, allocations: 146.4 kB / 484.7 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008235/0.4817, allocations: 3.609 MB / 488.4 MB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/0.5136, allocations: 13.84 MB / 0.4904 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008037/0.5217, allocations: 6.519 MB / 0.4968 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002839/0.5245, allocations: 1.292 MB / 0.4981 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007691/0.5322, allocations: 3.894 MB / 0.5019 GB, free: 8.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.5323, allocations: 51.88 kB / 0.5019 GB, free: 8.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.196e-06/0.5323, allocations: 0 / 0.5019 GB, free: 8.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01363/0.5459, allocations: 5.919 MB / 0.5077 GB, free: 2.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.546, allocations: 68.72 kB / 0.5077 GB, free: 2.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.5492, allocations: 1.813 MB / 0.5095 GB, free: 356 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000227/0.5494, allocations: 49.7 kB / 0.5096 GB, free: 300 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.5509, allocations: 1.49 MB / 0.511 GB, free: 14.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.5515, allocations: 0.4958 MB / 0.5115 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005512/0.552, allocations: 319.4 kB / 0.5118 GB, free: 13.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5522, allocations: 305.1 kB / 0.5121 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.5534, allocations: 0.6715 MB / 0.5128 GB, free: 13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.555, allocations: 1.209 MB / 0.5139 GB, free: 11.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/0.558, allocations: 2.003 MB / 0.5159 GB, free: 9.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.558, allocations: 4 kB / 0.5159 GB, free: 9.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.005008/0.563, allocations: 2.544 MB / 0.5184 GB, free: 6.754 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.5631, allocations: 16.69 kB / 0.5184 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/0.5631, allocations: 16 kB / 0.5184 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.5642, allocations: 360 kB / 0.5188 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.5659, allocations: 383.4 kB / 0.5191 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/0.5756, allocations: 8.409 MB / 0.5273 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.5775, allocations: 71.95 kB / 0.5274 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.5777, allocations: 72 kB / 0.5275 GB, free: 12.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002366/0.5801, allocations: 1.005 MB / 0.5285 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006323/0.5807, allocations: 214.7 kB / 0.5287 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.5852, allocations: 2.27 MB / 0.5309 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.5852, allocations: 15.98 kB / 0.5309 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.5853, allocations: 8 kB / 0.5309 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.5853, allocations: 3.984 kB / 0.5309 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009636/0.5949, allocations: 5.079 MB / 0.5359 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.5949, allocations: 4 kB / 0.5359 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/0.5958, allocations: 171.8 kB / 0.536 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/0.5974, allocations: 0.5359 MB / 0.5366 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.5976, allocations: 35.98 kB / 0.5366 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.6124, allocations: 13.26 MB / 0.5495 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6124, allocations: 0 / 0.5495 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006038/0.6185, allocations: 3.207 MB / 0.5527 GB, free: 1.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.6198, allocations: 443.7 kB / 0.5531 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003839/0.6202, allocations: 31.94 kB / 0.5531 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/0.6212, allocations: 63.94 kB / 0.5532 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/0.6215, allocations: 113.2 kB / 0.5533 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6216, allocations: 39.98 kB / 0.5533 GB, free: 1.215 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002177/0.6238, allocations: 1.232 MB / 0.5545 GB, free: 15.99 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6238, allocations: 0 / 0.5545 GB, free: 15.99 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002898/0.6267, allocations: 0.582 MB / 0.5551 GB, free: 15.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006395/0.6331, allocations: 3.842 MB / 0.5588 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004186/0.6372, allocations: 2.283 MB / 0.5611 GB, free: 9.109 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6373, allocations: 0 / 0.5611 GB, free: 9.109 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002969/0.6402, allocations: 1.676 MB / 0.5627 GB, free: 7.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/0.6433, allocations: 0.5682 MB / 0.5633 GB, free: 6.801 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03977/0.6831, allocations: 20.23 MB / 0.583 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/0.686, allocations: 2.315 MB / 0.5853 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001512/0.6875, allocations: 405.1 kB / 0.5857 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/0.6892, allocations: 1.144 MB / 0.5868 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.6892, allocations: 0 / 0.5868 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3587/1.048, allocations: 54.29 MB / 0.6398 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.04, allocations: 8.953 kB / 0.6398 GB, free: 166.5 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --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_Steinmetz.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.662444311194122] Failed to read output from testmodel.py, exit status != 0: ['time', '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.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 15.153581195976585 15.169350089 14.734943212 Calling exit ...