Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001681/0.001681, allocations: 110.5 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.002105/0.002105, allocations: 213.2 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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.002063/0.002063, allocations: 68.75 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2895, allocations: 53.36 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01723/0.3067, allocations: 13.57 MB / 445.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.317, allocations: 4.522 MB / 450 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.3197, allocations: 95.44 kB / 450.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.323, allocations: 1.044 MB / 451.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.3279, allocations: 1.301 MB / 452.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.3306, allocations: 0.9127 MB / 453.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006127/0.3367, allocations: 3.941 MB / 457.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003188/0.3399, allocations: 1.789 MB / 459.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.3435, allocations: 1.897 MB / 461 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.348, allocations: 2.219 MB / 463.2 MB, free: 7.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.3493, allocations: 0.5 MB / 463.7 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3515, allocations: 0.7263 MB / 464.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.3531, allocations: 1.118 MB / 465.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003764/0.3569, allocations: 2.077 MB / 467.6 MB, free: 3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009801/0.3667, allocations: 6.65 MB / 474.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3667, allocations: 0 / 474.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3667, allocations: 0 / 474.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001996/0.3669, allocations: 8 kB / 474.3 MB, free: 12.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01304/0.3799, allocations: 4.338 MB / 478.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.38, allocations: 12.03 kB / 478.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00111/0.3811, allocations: 451.2 kB / 479.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.3858, allocations: 0.8027 MB / 479.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005709/0.3915, allocations: 2.364 MB / 482.3 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.3918, allocations: 238.2 kB / 482.5 MB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.3929, allocations: 315.9 kB / 482.8 MB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009952/0.4028, allocations: 4.227 MB / 487 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.802e-05/0.4029, allocations: 3.984 kB / 487 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/0.4034, allocations: 128 kB / 487.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/0.4036, allocations: 154.3 kB / 487.3 MB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008261/0.4118, allocations: 3.612 MB / 490.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02437/0.4362, allocations: 12.82 MB / 0.4919 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005288/0.4415, allocations: 2.657 MB / 0.4945 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/0.4444, allocations: 1.511 MB / 0.496 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007293/0.4517, allocations: 3.71 MB / 0.4996 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.4518, allocations: 43.56 kB / 0.4997 GB, free: 6.547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.246e-06/0.4518, allocations: 0 / 0.4997 GB, free: 6.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01201/0.4638, allocations: 4.998 MB / 0.5045 GB, free: 1.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.4638, allocations: 64.41 kB / 0.5046 GB, free: 1.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.4667, allocations: 1.726 MB / 0.5063 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.4669, allocations: 49.64 kB / 0.5063 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.4682, allocations: 1.454 MB / 0.5078 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.4686, allocations: 456.1 kB / 0.5082 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/0.4692, allocations: 287.5 kB / 0.5085 GB, free: 13.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4693, allocations: 305.1 kB / 0.5088 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4705, allocations: 0.6559 MB / 0.5094 GB, free: 12.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.4721, allocations: 1.121 MB / 0.5105 GB, free: 11.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.4751, allocations: 1.898 MB / 0.5123 GB, free: 9.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.4751, allocations: 4 kB / 0.5124 GB, free: 9.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004521/0.4797, allocations: 2.331 MB / 0.5146 GB, free: 6.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.4798, allocations: 15.98 kB / 0.5146 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.4798, allocations: 12 kB / 0.5147 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008843/0.4807, allocations: 319.5 kB / 0.515 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.4821, allocations: 359.4 kB / 0.5153 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007079/0.4892, allocations: 6.312 MB / 0.5215 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4907, allocations: 79.84 kB / 0.5215 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.4909, allocations: 68.19 kB / 0.5216 GB, free: 15.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * 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 {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001982/0.4928, allocations: 1.007 MB / 0.5226 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/0.4933, allocations: 194.7 kB / 0.5228 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/0.4975, allocations: 2.039 MB / 0.5248 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.4975, allocations: 12 kB / 0.5248 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.4976, allocations: 8 kB / 0.5248 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.4976, allocations: 3.984 kB / 0.5248 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009133/0.5067, allocations: 4.765 MB / 0.5294 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.5067, allocations: 7.938 kB / 0.5295 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.5075, allocations: 163.8 kB / 0.5296 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.509, allocations: 499.9 kB / 0.5301 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.5091, allocations: 35.98 kB / 0.5301 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2294/0.7385, allocations: 10.93 MB / 0.5408 GB, free: 94.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7385, allocations: 3.75 kB / 0.5408 GB, free: 94.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/0.7438, allocations: 2.952 MB / 0.5437 GB, free: 93.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/0.7448, allocations: 346.7 kB / 0.544 GB, free: 93.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/0.7451, allocations: 37.7 kB / 0.544 GB, free: 93.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009199/0.7461, allocations: 61.48 kB / 0.5441 GB, free: 93.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.7464, allocations: 103.4 kB / 0.5442 GB, free: 93.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.7464, allocations: 35.56 kB / 0.5442 GB, free: 93.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001913/0.7484, allocations: 1.181 MB / 0.5454 GB, free: 93.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7484, allocations: 0 / 0.5454 GB, free: 93.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002322/0.7507, allocations: 0.5463 MB / 0.5459 GB, free: 93.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004732/0.7554, allocations: 3.576 MB / 0.5494 GB, free: 91.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.7585, allocations: 1.982 MB / 0.5514 GB, free: 90.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7585, allocations: 0 / 0.5514 GB, free: 90.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.7604, allocations: 1.504 MB / 0.5528 GB, free: 89.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.7626, allocations: 0.5162 MB / 0.5533 GB, free: 89.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/0.7873, allocations: 19.16 MB / 0.572 GB, free: 73.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.7888, allocations: 2.289 MB / 0.5743 GB, free: 70.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001158/0.79, allocations: 379.8 kB / 0.5746 GB, free: 70.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.7911, allocations: 1.12 MB / 0.5757 GB, free: 69.37 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7911, allocations: 0 / 0.5757 GB, free: 69.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.8926, allocations: 52.5 MB / 0.627 GB, free: 17.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.67, allocations: 7.609 kB / 0.627 GB, free: 17.33 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.38981229905039] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'loadInertia.phi', 'loadInertia.w', 'vfController.x'] 15.792185180820525 15.811125942 15.440341793 Calling exit ...