Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB 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.001916/0.001916, allocations: 59.91 kB / 358.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2744, allocations: 50.55 MB / 409.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02852/0.3029, allocations: 24.8 MB / 433.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.3196, allocations: 7.454 MB / 441.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005238/0.3249, allocations: 187.4 kB / 441.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02062/0.3456, allocations: 8.783 MB / 450.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009669/0.3553, allocations: 2.906 MB / 453.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005115/0.3604, allocations: 1.737 MB / 455 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01514/0.3756, allocations: 10.81 MB / 465.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0325/0.4081, allocations: 21.84 MB / 487.6 MB, free: 2.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00851/0.4167, allocations: 5.712 MB / 493.3 MB, free: 12.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0105/0.4272, allocations: 6.281 MB / 499.6 MB, free: 6.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003954/0.4312, allocations: 1.68 MB / 0.4895 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00536/0.4366, allocations: 2.05 MB / 0.4915 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003989/0.4406, allocations: 3.153 MB / 0.4946 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009671/0.4503, allocations: 6.098 MB / 0.5006 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02667/0.477, allocations: 22.39 MB / 0.5224 GB, free: 3.043 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.477, allocations: 4 kB / 0.5224 GB, free: 3.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.477, allocations: 0 / 0.5224 GB, free: 3.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004972/0.4775, allocations: 0 / 0.5224 GB, free: 3.039 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03714/0.5147, allocations: 12.97 MB / 0.5351 GB, free: 5.953 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5147, allocations: 12.03 kB / 0.5351 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004825/0.5196, allocations: 1.548 MB / 0.5366 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2551/0.7747, allocations: 6.17 MB / 0.5427 GB, free: 111.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.7871, allocations: 6.945 MB / 0.5494 GB, free: 108.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004534/0.7876, allocations: 0.7048 MB / 0.5501 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003312/0.7909, allocations: 0.9183 MB / 0.551 GB, free: 108 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03369/0.8246, allocations: 15.78 MB / 0.5664 GB, free: 98.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004091/0.825, allocations: 15.89 kB / 0.5664 GB, free: 98.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003209/0.8283, allocations: 394.5 kB / 0.5668 GB, free: 98.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005172/0.8288, allocations: 0.5547 MB / 0.5674 GB, free: 97.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/0.8571, allocations: 14.8 MB / 0.5818 GB, free: 83.15 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08263/0.9398, allocations: 52.2 MB / 0.6328 GB, free: 29.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/0.96, allocations: 26.49 MB / 0.6587 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006208/0.9663, allocations: 3.218 MB / 0.6618 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/0.967, allocations: 273.6 kB / 0.6621 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.9671, allocations: 73.69 kB / 0.6621 GB, free: 12.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 9.327e-06/0.9671, allocations: 3.938 kB / 0.6621 GB, free: 12.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04954/1.017, allocations: 17.46 MB / 0.6792 GB, free: 11.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/1.017, allocations: 90.58 kB / 0.6793 GB, free: 11.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007685/1.025, allocations: 3.697 MB / 0.6829 GB, free: 7.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006604/1.025, allocations: 89.7 kB / 0.683 GB, free: 7.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003496/1.029, allocations: 4.125 MB / 0.687 GB, free: 3.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002023/1.031, allocations: 1.45 MB / 0.6884 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002796/1.034, allocations: 1.152 MB / 0.6895 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/1.034, allocations: 309.1 kB / 0.6898 GB, free: 224 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/1.038, allocations: 2.801 MB / 0.6926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006852/1.045, allocations: 4.961 MB / 0.6974 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.058, allocations: 8.322 MB / 0.7055 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-05/1.058, allocations: 20 kB / 0.7056 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01902/1.077, allocations: 9.14 MB / 0.7145 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/1.077, allocations: 36 kB / 0.7145 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/1.077, allocations: 75.94 kB / 0.7146 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/1.081, allocations: 1.227 MB / 0.7158 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005389/1.087, allocations: 1.322 MB / 0.7171 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/1.104, allocations: 9.927 MB / 0.7268 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/1.109, allocations: 331.6 kB / 0.7271 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000867/1.11, allocations: 292 kB / 0.7274 GB, free: 7.625 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006803/1.116, allocations: 3.697 MB / 0.731 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.117, allocations: 433.2 kB / 0.7314 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.13, allocations: 6.698 MB / 0.7379 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009772/1.14, allocations: 5.615 MB / 0.7434 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.14, allocations: 11.94 kB / 0.7434 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.806e-05/1.14, allocations: 27.84 kB / 0.7435 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2904/1.43, allocations: 15.78 MB / 0.7589 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.43, allocations: 8.375 kB / 0.7589 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002682/1.433, allocations: 0.7247 MB / 0.7596 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/1.436, allocations: 1.115 MB / 0.7607 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004885/1.437, allocations: 104.1 kB / 0.7608 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.448, allocations: 8.845 MB / 0.7694 GB, free: 180.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.448, allocations: 11.03 kB / 0.7694 GB, free: 180.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.461, allocations: 9.892 MB / 0.7791 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/1.463, allocations: 0.9743 MB / 0.78 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/1.464, allocations: 80.23 kB / 0.7801 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.466, allocations: 198.5 kB / 0.7803 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006411/1.467, allocations: 284.2 kB / 0.7806 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.467, allocations: 128.9 kB / 0.7807 GB, free: 175.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003383/1.471, allocations: 2.493 MB / 0.7831 GB, free: 174.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/1.471, allocations: 0 / 0.7831 GB, free: 174.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006007/1.477, allocations: 1.615 MB / 0.7847 GB, free: 174.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01398/1.491, allocations: 10.63 MB / 0.7951 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.501, allocations: 7.157 MB / 0.8021 GB, free: 159.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/1.501, allocations: 4 kB / 0.8021 GB, free: 159.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00576/1.507, allocations: 3.405 MB / 0.8054 GB, free: 156.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/1.512, allocations: 0.9786 MB / 0.8064 GB, free: 156.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07678/1.589, allocations: 54.34 MB / 0.8594 GB, free: 99.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007362/1.596, allocations: 6.191 MB / 0.8655 GB, free: 93.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004658/1.601, allocations: 1.916 MB / 0.8673 GB, free: 91.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004285/1.605, allocations: 3.323 MB / 0.8706 GB, free: 87.93 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/1.605, allocations: 0 / 0.8706 GB, free: 87.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3972/2.003, allocations: 126.1 MB / 0.9937 GB, free: 174.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.91/20.91, allocations: 12.23 kB / 0.9937 GB, free: 174.7 MB / 0.545 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)