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.001882/0.001882, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.0025/0.0025, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.002/0.002, allocations: 76.69 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2643, allocations: 53.35 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01213/0.2764, allocations: 8.961 MB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006329/0.2827, allocations: 2.913 MB / 443.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.2841, allocations: 55.62 kB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.2862, allocations: 0.6368 MB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.289, allocations: 0.7573 MB / 445.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008956/0.2899, allocations: 335.5 kB / 445.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003119/0.293, allocations: 2.237 MB / 447.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.2947, allocations: 1.02 MB / 448.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.2966, allocations: 1.055 MB / 449.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.2997, allocations: 1.327 MB / 451.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006864/0.3004, allocations: 268 kB / 451.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.3016, allocations: 363.9 kB / 451.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.3029, allocations: 0.7674 MB / 452.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.3054, allocations: 1.221 MB / 453.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006699/0.3121, allocations: 3.539 MB / 457.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3121, allocations: 0 / 457.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3121, allocations: 0 / 457.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.412e-05/0.3122, allocations: 0 / 457.4 MB, free: 13.33 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.008858/0.3211, allocations: 2.478 MB / 459.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.3211, allocations: 8.031 kB / 459.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005549/0.3217, allocations: 266 kB / 460.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.3228, allocations: 267.4 kB / 460.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.3259, allocations: 1.246 MB / 461.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.3261, allocations: 135.7 kB / 461.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.3264, allocations: 179.9 kB / 461.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.3307, allocations: 2.378 MB / 464.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.3307, allocations: 11.89 kB / 464.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.3309, allocations: 72 kB / 464.4 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.331, allocations: 91.5 kB / 464.5 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003684/0.3347, allocations: 1.966 MB / 466.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.347, allocations: 6.941 MB / 473.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.3489, allocations: 1.004 MB / 474.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.3505, allocations: 0.8031 MB / 475.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.3507, allocations: 44.97 kB / 475.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.3508, allocations: 47.5 kB / 475.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.3508, allocations: 4 kB / 475.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01391/0.3647, allocations: 5.66 MB / 480.9 MB, free: 5.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.3648, allocations: 68.34 kB / 481 MB, free: 5.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.3668, allocations: 1.219 MB / 482.2 MB, free: 4.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.3669, allocations: 41.7 kB / 482.3 MB, free: 4.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007715/0.3677, allocations: 0.8909 MB / 483.2 MB, free: 3.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/0.3681, allocations: 380.8 kB / 483.5 MB, free: 2.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.3685, allocations: 222.9 kB / 483.8 MB, free: 2.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.3687, allocations: 357.9 kB / 484.1 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.3698, allocations: 0.6155 MB / 484.7 MB, free: 1.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.3711, allocations: 0.9149 MB / 485.6 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.3737, allocations: 1.647 MB / 487.3 MB, free: 14.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3737, allocations: 4 kB / 487.3 MB, free: 14.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004175/0.3779, allocations: 2.145 MB / 489.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.3779, allocations: 8 kB / 489.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.378, allocations: 8 kB / 489.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3791, allocations: 480.1 kB / 489.9 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.3801, allocations: 275.6 kB / 490.2 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008109/0.3883, allocations: 6.715 MB / 496.9 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.3896, allocations: 87.88 kB / 497 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.3899, allocations: 51.98 kB / 497 MB, free: 4.594 MB / 398.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.00154/0.3914, allocations: 0.5911 MB / 497.6 MB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/0.3919, allocations: 147 kB / 497.8 MB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/0.3962, allocations: 1.948 MB / 499.7 MB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.3962, allocations: 8 kB / 499.7 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.3962, allocations: 4 kB / 499.7 MB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.3962, allocations: 11.98 kB / 499.7 MB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008578/0.4048, allocations: 4.1 MB / 0.492 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.4048, allocations: 4 kB / 0.492 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.4056, allocations: 179.7 kB / 0.4922 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.407, allocations: 0.5235 MB / 0.4927 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4071, allocations: 27.98 kB / 0.4927 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008976/0.4161, allocations: 8.218 MB / 0.5008 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.4161, allocations: 7.938 kB / 0.5008 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.4215, allocations: 2.867 MB / 0.5036 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000829/0.4223, allocations: 271 kB / 0.5038 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/0.4227, allocations: 31.94 kB / 0.5039 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009628/0.4236, allocations: 75.91 kB / 0.5039 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.4239, allocations: 92.72 kB / 0.504 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.424, allocations: 35.98 kB / 0.5041 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.4256, allocations: 0.8463 MB / 0.5049 GB, free: 15.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4256, allocations: 0 / 0.5049 GB, free: 15.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001706/0.4273, allocations: 404 kB / 0.5053 GB, free: 15.52 MB / 430.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.005734/0.4331, allocations: 3.498 MB / 0.5087 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003668/0.4367, allocations: 1.959 MB / 0.5106 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4367, allocations: 0 / 0.5106 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.4391, allocations: 1.354 MB / 0.5119 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.4413, allocations: 386.3 kB / 0.5123 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/0.4686, allocations: 15.01 MB / 0.5269 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/0.4706, allocations: 1.634 MB / 0.5285 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4716, allocations: 299.8 kB / 0.5288 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.4726, allocations: 0.6906 MB / 0.5295 GB, free: 5.938 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4726, allocations: 0 / 0.5295 GB, free: 5.938 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3003/0.7729, allocations: 38.62 MB / 0.5672 GB, free: 82.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.31, allocations: 3.438 kB / 0.5672 GB, free: 82.86 MB / 446.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: 16.006081379950047] 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.424069528002292 13.442673918 13.126600715 Calling exit ...