Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001963/0.001963, allocations: 109 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.002312/0.002312, allocations: 213.6 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_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.001946/0.001946, allocations: 72.75 kB / 378.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2839, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01244/0.2963, allocations: 9.835 MB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006213/0.3025, allocations: 3.112 MB / 444.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.3039, allocations: 59.62 kB / 444.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.3056, allocations: 0.6677 MB / 445.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.3078, allocations: 0.7921 MB / 446.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008466/0.3086, allocations: 399.3 kB / 446.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.3117, allocations: 2.44 MB / 449.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.3133, allocations: 1.042 MB / 450.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.315, allocations: 1.114 MB / 451.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.317, allocations: 1.35 MB / 452.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003939/0.3174, allocations: 280 kB / 453 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007216/0.3181, allocations: 383.8 kB / 453.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000849/0.319, allocations: 0.783 MB / 454.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.3205, allocations: 1.279 MB / 455.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.3247, allocations: 3.67 MB / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3247, allocations: 0 / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3247, allocations: 0 / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.504e-05/0.3248, allocations: 4 kB / 459.1 MB, free: 11.53 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005142/0.33, allocations: 2.58 MB / 461.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.33, allocations: 8.031 kB / 461.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000351/0.3304, allocations: 286.6 kB / 462 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/0.3312, allocations: 283.4 kB / 462.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.3335, allocations: 1.294 MB / 463.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.3337, allocations: 143.9 kB / 463.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.334, allocations: 192 kB / 463.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004274/0.3382, allocations: 2.422 MB / 466.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.375e-05/0.3383, allocations: 4 kB / 466.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.3385, allocations: 83.97 kB / 466.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.3386, allocations: 91.69 kB / 466.5 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.3421, allocations: 1.959 MB / 468.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.3552, allocations: 7.633 MB / 476.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.3569, allocations: 1.019 MB / 477.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.3587, allocations: 0.9084 MB / 478 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/0.3589, allocations: 44.95 kB / 478 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.359, allocations: 51.5 kB / 478.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.555e-06/0.359, allocations: 0 / 478.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01435/0.3733, allocations: 5.512 MB / 483.6 MB, free: 2.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3734, allocations: 68.34 kB / 483.7 MB, free: 2.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.3756, allocations: 1.314 MB / 485 MB, free: 1.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.3757, allocations: 45.7 kB / 485 MB, free: 1.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007577/0.3765, allocations: 0.9498 MB / 486 MB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/0.3769, allocations: 404.7 kB / 486.4 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/0.3773, allocations: 251.5 kB / 486.6 MB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3775, allocations: 353.9 kB / 487 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3786, allocations: 0.6364 MB / 487.6 MB, free: 14.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.38, allocations: 1.004 MB / 488.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.3826, allocations: 1.739 MB / 490.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3826, allocations: 0 / 490.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0042/0.3868, allocations: 2.242 MB / 492.6 MB, free: 9.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.3869, allocations: 12 kB / 492.6 MB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.3869, allocations: 12.31 kB / 492.6 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.3883, allocations: 495.9 kB / 493.1 MB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3895, allocations: 299.5 kB / 493.4 MB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009266/0.3987, allocations: 6.813 MB / 0.4885 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.4003, allocations: 91.91 kB / 0.4886 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4005, allocations: 63.92 kB / 0.4886 GB, free: 1.117 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00131/0.4018, allocations: 0.5953 MB / 0.4892 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003817/0.4022, allocations: 159.2 kB / 0.4894 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/0.4059, allocations: 1.953 MB / 0.4913 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.406, allocations: 15.94 kB / 0.4913 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.406, allocations: 4 kB / 0.4913 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.406, allocations: 7.922 kB / 0.4913 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007782/0.4138, allocations: 4.073 MB / 0.4953 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4138, allocations: 288 / 0.4953 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008589/0.4146, allocations: 195.7 kB / 0.4955 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.4161, allocations: 0.5387 MB / 0.496 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.4162, allocations: 28.05 kB / 0.496 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009792/0.426, allocations: 8.351 MB / 0.5042 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.426, allocations: 4 kB / 0.5042 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005106/0.4311, allocations: 2.856 MB / 0.507 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008751/0.432, allocations: 286.8 kB / 0.5072 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.4322, allocations: 27.98 kB / 0.5073 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/0.433, allocations: 71.92 kB / 0.5073 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.4333, allocations: 96.8 kB / 0.5074 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/0.4334, allocations: 27.98 kB / 0.5074 GB, free: 13.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.4348, allocations: 0.8958 MB / 0.5083 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4348, allocations: 0 / 0.5083 GB, free: 12.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001628/0.4365, allocations: 440 kB / 0.5087 GB, free: 11.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005462/0.4419, allocations: 3.479 MB / 0.5121 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003776/0.4457, allocations: 2 MB / 0.5141 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.4457, allocations: 0 / 0.5141 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.4482, allocations: 1.392 MB / 0.5155 GB, free: 4.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.4503, allocations: 424.6 kB / 0.5159 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02611/0.4764, allocations: 15.69 MB / 0.5312 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.478, allocations: 1.654 MB / 0.5328 GB, free: 2.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00107/0.4791, allocations: 324.7 kB / 0.5331 GB, free: 2.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.4801, allocations: 0.7258 MB / 0.5338 GB, free: 1.41 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4801, allocations: 4 kB / 0.5338 GB, free: 1.406 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.7706, allocations: 40.96 MB / 0.5738 GB, free: 74.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.13/20.9, allocations: 0 / 0.5738 GB, free: 74.42 MB / 446.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.45272582117468] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 21.007275769021362 21.018204139 20.690961941 Calling exit ...