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_Inverter.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.001569/0.001569, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001369/0.001369, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.427/1.427, allocations: 230.5 MB / 254.8 MB, free: 15.24 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_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",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.001889/0.001889, allocations: 67.83 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1036, allocations: 53.33 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01146/0.115, allocations: 8.918 MB / 435.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006262/0.1213, allocations: 2.909 MB / 438.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.1227, allocations: 55.62 kB / 438.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.1244, allocations: 0.6446 MB / 439.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.1268, allocations: 0.7379 MB / 440.3 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008692/0.1277, allocations: 323.5 kB / 440.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.1308, allocations: 2.244 MB / 442.8 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.1325, allocations: 1.274 MB / 444.1 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.1342, allocations: 1.055 MB / 445.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.1361, allocations: 1.312 MB / 446.5 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003853/0.1365, allocations: 268 kB / 446.7 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006806/0.1372, allocations: 363.8 kB / 447.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2127/0.3499, allocations: 0.7715 MB / 447.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.3518, allocations: 1.213 MB / 449.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.3566, allocations: 3.545 MB / 452.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3566, allocations: 0 / 452.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3566, allocations: 2.125 kB / 452.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.3567, allocations: 0 / 452.6 MB, free: 11.34 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006972/0.3637, allocations: 2.548 MB / 455.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3637, allocations: 11.12 kB / 455.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004384/0.3642, allocations: 271.4 kB / 455.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.365, allocations: 264.4 kB / 455.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.3674, allocations: 1.311 MB / 457 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3675, allocations: 135.6 kB / 457.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.3678, allocations: 189.6 kB / 457.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004419/0.3722, allocations: 2.369 MB / 459.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/0.3723, allocations: 7.516 kB / 459.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.3725, allocations: 69.77 kB / 459.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.3726, allocations: 96.77 kB / 459.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.3763, allocations: 1.963 MB / 461.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.3876, allocations: 7.091 MB / 468.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.3892, allocations: 1.218 MB / 470.2 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.3907, allocations: 0.8047 MB / 471 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002078/0.3909, allocations: 122 kB / 471.1 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3909, allocations: 46.56 kB / 471.1 MB, free: 3.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/0.3909, allocations: 2.875 kB / 471.1 MB, free: 3.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01386/0.4048, allocations: 6.108 MB / 477.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4048, allocations: 62.09 kB / 477.3 MB, free: 488 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.4066, allocations: 1.229 MB / 478.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.623e-05/0.4067, allocations: 41.52 kB / 478.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007492/0.4075, allocations: 0.8888 MB / 479.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.4078, allocations: 385.7 kB / 479.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.4082, allocations: 218.4 kB / 480 MB, free: 14.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.4084, allocations: 359.5 kB / 480.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.4096, allocations: 0.6142 MB / 481 MB, free: 13.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.4109, allocations: 0.9207 MB / 481.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.4132, allocations: 1.643 MB / 483.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4132, allocations: 2.812 kB / 483.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004074/0.4173, allocations: 2.223 MB / 485.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4173, allocations: 8.438 kB / 485.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.4174, allocations: 13.09 kB / 485.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.4185, allocations: 472.4 kB / 486.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/0.4194, allocations: 275 kB / 486.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/0.4266, allocations: 7.019 MB / 493.6 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.428, allocations: 87.88 kB / 493.7 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4281, allocations: 50.73 kB / 493.7 MB, free: 4.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001127/0.4292, allocations: 0.5901 MB / 494.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.4295, allocations: 145.7 kB / 494.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.4331, allocations: 2.024 MB / 496.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4331, allocations: 8 kB / 496.5 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4332, allocations: 11.98 kB / 496.5 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.4332, allocations: 7.984 kB / 496.5 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007614/0.4408, allocations: 4.204 MB / 0.489 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.4408, allocations: 4 kB / 0.489 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/0.4416, allocations: 180.7 kB / 0.4891 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.443, allocations: 0.5263 MB / 0.4896 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/0.4431, allocations: 34.61 kB / 0.4897 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009189/0.4523, allocations: 8.616 MB / 0.4981 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.4523, allocations: 6.625 kB / 0.4981 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/0.4575, allocations: 2.945 MB / 0.501 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000928/0.4585, allocations: 344.1 kB / 0.5013 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.4587, allocations: 31.98 kB / 0.5013 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/0.4595, allocations: 75.86 kB / 0.5014 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.4597, allocations: 87.5 kB / 0.5015 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.4598, allocations: 35.98 kB / 0.5015 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001406/0.4612, allocations: 0.8439 MB / 0.5023 GB, free: 52 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4612, allocations: 0 / 0.5023 GB, free: 52 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001741/0.463, allocations: 408 kB / 0.5027 GB, free: 15.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * 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,6,100.0%), (1,1,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.005467/0.4684, allocations: 3.58 MB / 0.5062 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003672/0.4721, allocations: 2.092 MB / 0.5083 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.4721, allocations: 0 / 0.5083 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.4746, allocations: 1.443 MB / 0.5097 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.4767, allocations: 386.4 kB / 0.5101 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/0.5026, allocations: 15.14 MB / 0.5248 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.5041, allocations: 1.645 MB / 0.5264 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009516/0.5051, allocations: 299.8 kB / 0.5267 GB, free: 6.441 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009886/0.5061, allocations: 0.6867 MB / 0.5274 GB, free: 5.754 MB / 430.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5061, allocations: 0 / 0.5274 GB, free: 5.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09112/0.5972, allocations: 37.71 MB / 0.5642 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.96, allocations: 0 / 0.5642 GB, free: 0.5078 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv --start-time 0 --stop-time 1.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_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.483418636023998] 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]', 'loadInertia.phi', 'loadInertia.w', 'vfController.x'] 13.065343656111509 13.089941791 12.72872342 Calling exit ...