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.001819/0.001819, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002235/0.002235, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.435/1.435, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.002583/0.002583, allocations: 71.84 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1164, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.1973/0.3137, allocations: 9.775 MB / 436.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005478/0.3192, allocations: 3.104 MB / 439.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.3208, allocations: 61.91 kB / 440 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.3226, allocations: 0.6674 MB / 440.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.3258, allocations: 0.7845 MB / 441.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.3272, allocations: 378.7 kB / 441.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003703/0.3309, allocations: 2.441 MB / 444.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.3328, allocations: 1.288 MB / 445.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.3349, allocations: 1.107 MB / 446.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.337, allocations: 1.343 MB / 448 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005033/0.3375, allocations: 282.5 kB / 448.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009957/0.3385, allocations: 384.4 kB / 448.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007272/0.3392, allocations: 0.7771 MB / 449.4 MB, free: 480 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.3408, allocations: 1.275 MB / 450.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005169/0.346, allocations: 3.674 MB / 454.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.346, allocations: 0 / 454.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.346, allocations: 5.125 kB / 454.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001105/0.3461, allocations: 1.375 kB / 454.3 MB, free: 14.27 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.006207/0.3523, allocations: 2.659 MB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3523, allocations: 9.625 kB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004034/0.3527, allocations: 277.2 kB / 457.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.3536, allocations: 283.3 kB / 457.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.3561, allocations: 1.375 MB / 458.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3562, allocations: 141.6 kB / 459.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.3565, allocations: 200.6 kB / 459.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/0.3608, allocations: 2.416 MB / 461.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/0.3608, allocations: 2.656 kB / 461.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001994/0.361, allocations: 85.08 kB / 461.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.3611, allocations: 93.56 kB / 461.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.3647, allocations: 1.96 MB / 463.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.3785, allocations: 7.789 MB / 471.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3801, allocations: 1.144 MB / 472.8 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.382, allocations: 0.9142 MB / 473.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.3823, allocations: 116.3 kB / 473.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.3823, allocations: 47.67 kB / 473.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.397e-06/0.3823, allocations: 4 kB / 473.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01393/0.3962, allocations: 5.884 MB / 479.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.3963, allocations: 68.34 kB / 479.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.3984, allocations: 1.31 MB / 481.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.3986, allocations: 49.7 kB / 481.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/0.3994, allocations: 0.9458 MB / 482.1 MB, free: 9.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.3998, allocations: 412.5 kB / 482.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.4002, allocations: 251.5 kB / 482.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4004, allocations: 357.9 kB / 483.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.4015, allocations: 0.6364 MB / 483.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4029, allocations: 1.004 MB / 484.7 MB, free: 6.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.4054, allocations: 1.724 MB / 486.5 MB, free: 4.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4054, allocations: 4 kB / 486.5 MB, free: 4.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004232/0.4096, allocations: 2.246 MB / 488.7 MB, free: 2.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.4097, allocations: 12 kB / 488.7 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.4097, allocations: 8 kB / 488.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.411, allocations: 497 kB / 489.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4121, allocations: 307.5 kB / 489.5 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007926/0.42, allocations: 7.139 MB / 496.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4216, allocations: 83.84 kB / 496.7 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.4217, allocations: 56 kB / 496.8 MB, free: 9.938 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.001251/0.4229, allocations: 0.6082 MB / 497.4 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.4233, allocations: 151 kB / 497.5 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.427, allocations: 1.965 MB / 499.5 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.427, allocations: 15.94 kB / 499.5 MB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.427, allocations: 4 kB / 499.5 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.427, allocations: 7.969 kB / 499.5 MB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007416/0.4344, allocations: 4.105 MB / 0.4918 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4345, allocations: 0 / 0.4918 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/0.4353, allocations: 184 kB / 0.492 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.4368, allocations: 0.5387 MB / 0.4925 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.642e-05/0.4369, allocations: 32.67 kB / 0.4926 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009216/0.4461, allocations: 8.76 MB / 0.5011 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4461, allocations: 7.938 kB / 0.5011 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.4511, allocations: 2.856 MB / 0.5039 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/0.452, allocations: 360 kB / 0.5043 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/0.4525, allocations: 32.06 kB / 0.5043 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.4535, allocations: 72.39 kB / 0.5044 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.4538, allocations: 84.91 kB / 0.5044 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/0.4538, allocations: 35.92 kB / 0.5045 GB, free: 5.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001655/0.4555, allocations: 0.8958 MB / 0.5053 GB, free: 4.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4555, allocations: 0 / 0.5053 GB, free: 4.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001913/0.4574, allocations: 443.9 kB / 0.5058 GB, free: 4.027 MB / 414.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.005244/0.4626, allocations: 3.469 MB / 0.5092 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003641/0.4663, allocations: 2.158 MB / 0.5113 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4663, allocations: 4 kB / 0.5113 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.4686, allocations: 1.463 MB / 0.5127 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.4707, allocations: 424 kB / 0.5131 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02557/0.4963, allocations: 15.68 MB / 0.5284 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.4981, allocations: 1.654 MB / 0.53 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001051/0.4992, allocations: 316.8 kB / 0.5303 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.5002, allocations: 0.7258 MB / 0.531 GB, free: 9.34 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5002, allocations: 3.938 kB / 0.531 GB, free: 9.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09281/0.593, allocations: 39.97 MB / 0.5701 GB, free: 1.809 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.49/20.08, allocations: 7.875 kB / 0.5701 GB, free: 1.801 MB / 478.1 MB " [Timeout remaining time 640] (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: 22.624467614106834] 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'] 20.192081130109727 20.21361964 19.86329635 Calling exit ...