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_withLosses.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.001286/0.001286, 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.00139/0.00139, 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.418/1.418, allocations: 230.5 MB / 254.8 MB, free: 15.09 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_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",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.001983/0.001983, allocations: 71.81 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1019, allocations: 53.32 MB / 427 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2079/0.3098, allocations: 9.76 MB / 436.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00658/0.3164, allocations: 3.776 MB / 440.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.3182, allocations: 60.56 kB / 440.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.3205, allocations: 0.7021 MB / 441.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.3238, allocations: 0.9162 MB / 442.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.3254, allocations: 472.1 kB / 442.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004054/0.3294, allocations: 2.663 MB / 445.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.3317, allocations: 1.388 MB / 446.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.3343, allocations: 1.228 MB / 448 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.3376, allocations: 1.548 MB / 449.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.3386, allocations: 306 kB / 449.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.3408, allocations: 0.5764 MB / 450.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001977/0.3428, allocations: 1.036 MB / 451.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003703/0.3465, allocations: 1.488 MB / 452.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008143/0.3547, allocations: 4.318 MB / 457.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3547, allocations: 1.375 kB / 457.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.3547, allocations: 0 / 457.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001897/0.3549, allocations: 0 / 457.3 MB, free: 12.09 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009653/0.3645, allocations: 3.274 MB / 460.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3646, allocations: 10.44 kB / 460.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008443/0.3654, allocations: 360.1 kB / 460.9 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.3669, allocations: 376.6 kB / 461.3 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.3707, allocations: 1.745 MB / 463 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.3709, allocations: 151.9 kB / 463.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005335/0.3714, allocations: 212.1 kB / 463.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006033/0.3774, allocations: 2.731 MB / 466.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.038e-05/0.3775, allocations: 2.812 kB / 466.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.3778, allocations: 85.16 kB / 466.2 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.3779, allocations: 97.08 kB / 466.3 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00509/0.383, allocations: 2.298 MB / 468.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.3999, allocations: 8.238 MB / 476.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.4033, allocations: 1.538 MB / 478.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.4055, allocations: 1.029 MB / 479.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.4058, allocations: 126 kB / 479.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.4059, allocations: 51.5 kB / 479.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.888e-06/0.4059, allocations: 4 kB / 479.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01558/0.4214, allocations: 6.481 MB / 486 MB, free: 5.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.4215, allocations: 64.72 kB / 486.1 MB, free: 5.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/0.4252, allocations: 2.177 MB / 488.3 MB, free: 2.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002999/0.4255, allocations: 49.7 kB / 488.3 MB, free: 2.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.4265, allocations: 1.157 MB / 489.5 MB, free: 1.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006514/0.4272, allocations: 475.9 kB / 489.9 MB, free: 1.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/0.4277, allocations: 243.5 kB / 490.2 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4279, allocations: 361.9 kB / 490.5 MB, free: 0.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.4294, allocations: 0.7574 MB / 491.3 MB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.4311, allocations: 1.017 MB / 492.3 MB, free: 14.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003294/0.4343, allocations: 1.868 MB / 494.2 MB, free: 12.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4344, allocations: 0 / 494.2 MB, free: 12.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006047/0.4404, allocations: 2.758 MB / 496.9 MB, free: 9.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.4404, allocations: 8 kB / 496.9 MB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.4405, allocations: 4 kB / 497 MB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.4427, allocations: 0.7775 MB / 497.7 MB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.444, allocations: 275.6 kB / 498 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.4574, allocations: 9.595 MB / 0.4957 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.4592, allocations: 95.95 kB / 0.4958 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.4594, allocations: 51.98 kB / 0.4958 GB, free: 14.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001732/0.4611, allocations: 0.7401 MB / 0.4966 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006637/0.4618, allocations: 210.6 kB / 0.4968 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005353/0.4672, allocations: 2.485 MB / 0.4992 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.4672, allocations: 19.98 kB / 0.4992 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.4672, allocations: 4 kB / 0.4992 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.4672, allocations: 7.922 kB / 0.4992 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.4783, allocations: 4.946 MB / 0.5041 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.4783, allocations: 4 kB / 0.5041 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.4794, allocations: 215.7 kB / 0.5043 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.4814, allocations: 0.6534 MB / 0.5049 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.4816, allocations: 31.97 kB / 0.5049 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009954/0.4915, allocations: 8.727 MB / 0.5135 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4915, allocations: 4.188 kB / 0.5135 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006698/0.4982, allocations: 3.529 MB / 0.5169 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.4994, allocations: 451.6 kB / 0.5173 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003463/0.4998, allocations: 39.92 kB / 0.5174 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.5009, allocations: 79.91 kB / 0.5174 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/0.5012, allocations: 104.8 kB / 0.5175 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.5013, allocations: 40.06 kB / 0.5176 GB, free: 8.023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002502/0.5038, allocations: 1.532 MB / 0.5191 GB, free: 6.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5038, allocations: 3.938 kB / 0.5191 GB, free: 6.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002559/0.5064, allocations: 0.5274 MB / 0.5196 GB, free: 5.938 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00878/0.5152, allocations: 4.465 MB / 0.524 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00517/0.5203, allocations: 2.29 MB / 0.5262 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.5203, allocations: 0 / 0.5262 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003015/0.5234, allocations: 1.547 MB / 0.5277 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.5263, allocations: 455.7 kB / 0.5281 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04276/0.569, allocations: 21.17 MB / 0.5488 GB, free: 7.621 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.5715, allocations: 1.963 MB / 0.5507 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001518/0.573, allocations: 387.8 kB / 0.5511 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/0.5747, allocations: 0.9874 MB / 0.5521 GB, free: 4.254 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5747, allocations: 0 / 0.5521 GB, free: 4.254 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/0.6895, allocations: 51.76 MB / 0.6026 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.37/24.06, allocations: 11.09 kB / 0.6026 GB, free: 0.875 MB / 0.4981 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.csv --start-time 0 --stop-time 5 --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_withLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.717777454759926] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.w', 'powerSensor.flange_a.phi'] 24.224127688910812 24.238478393 23.880580829 Calling exit ...