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_Conveyor.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.001423/0.001423, allocations: 105 kB / 19.74 MB, free: 2.566 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.00154/0.00154, allocations: 217 kB / 22.92 MB, free: 5.539 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.296/1.296, allocations: 230.5 MB / 256.4 MB, free: 8.434 MB / 206.1 MB " [Timeout remaining time 179] 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_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",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.001776/0.001776, allocations: 75.81 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2111, allocations: 53.32 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03692/0.248, allocations: 34.85 MB / 464.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01916/0.2672, allocations: 10.05 MB / 474.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00554/0.2727, allocations: 251.1 kB / 474.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.2907, allocations: 8.281 MB / 482.9 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.3023, allocations: 3.877 MB / 486.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006638/0.3089, allocations: 2.318 MB / 489.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01772/0.3266, allocations: 13.35 MB / 0.4906 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02466/0.3513, allocations: 14.1 MB / 0.5044 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.3615, allocations: 6.701 MB / 0.511 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.3735, allocations: 7.6 MB / 0.5184 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004652/0.3781, allocations: 1.898 MB / 0.5202 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006339/0.3845, allocations: 2.328 MB / 0.5225 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005226/0.3897, allocations: 3.807 MB / 0.5262 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01133/0.401, allocations: 7.21 MB / 0.5333 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2125/0.6135, allocations: 25.36 MB / 0.558 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6135, allocations: 0 / 0.558 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6135, allocations: 2.516 kB / 0.558 GB, free: 30.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005535/0.6141, allocations: 0 / 0.558 GB, free: 30.09 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: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.03966/0.6537, allocations: 15.13 MB / 0.5728 GB, free: 23.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.6538, allocations: 14.23 kB / 0.5728 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005617/0.6594, allocations: 1.545 MB / 0.5743 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03518/0.6946, allocations: 6.747 MB / 0.5809 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.7084, allocations: 8.217 MB / 0.589 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/0.7089, allocations: 0.8077 MB / 0.5897 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00359/0.7125, allocations: 1.069 MB / 0.5908 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/0.7449, allocations: 17.45 MB / 0.6078 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002916/0.7452, allocations: 27.27 kB / 0.6079 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00241/0.7476, allocations: 446.7 kB / 0.6083 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006469/0.7483, allocations: 0.6397 MB / 0.6089 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03384/0.7821, allocations: 16.42 MB / 0.6249 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09316/0.8753, allocations: 55.46 MB / 0.6791 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02964/0.9049, allocations: 33.19 MB / 0.7115 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007143/0.912, allocations: 4.038 MB / 0.7155 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/0.9326, allocations: 12.48 MB / 0.7276 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004491/0.9371, allocations: 3.103 MB / 0.7307 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=434): time 6.011e-06/0.9371, allocations: 0 / 0.7307 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=452): time 0.05127/0.9883, allocations: 23.64 MB / 0.7538 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002276/0.9886, allocations: 411.4 kB / 0.7541 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.19/1.179, allocations: 4.605 MB / 0.7586 GB, free: 225.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007856/1.179, allocations: 104.6 kB / 0.7587 GB, free: 225.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003935/1.183, allocations: 4.914 MB / 0.7635 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.185, allocations: 1.623 MB / 0.7651 GB, free: 223.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/1.186, allocations: 1.145 MB / 0.7662 GB, free: 223.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.264e-05/1.187, allocations: 302.8 kB / 0.7665 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/1.19, allocations: 2.839 MB / 0.7693 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/1.194, allocations: 5.019 MB / 0.7742 GB, free: 218.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008276/1.203, allocations: 8.324 MB / 0.7823 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.367e-05/1.203, allocations: 19.12 kB / 0.7824 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01389/1.217, allocations: 9.586 MB / 0.7917 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/1.217, allocations: 32.19 kB / 0.7917 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.545e-05/1.217, allocations: 69.97 kB / 0.7918 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00353/1.22, allocations: 1.486 MB / 0.7933 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004848/1.225, allocations: 1.338 MB / 0.7946 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/1.241, allocations: 17.62 MB / 0.8118 GB, free: 193 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/1.246, allocations: 348.9 kB / 0.8121 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007797/1.246, allocations: 291.2 kB / 0.8124 GB, free: 192.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 682 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005516/1.252, allocations: 3.909 MB / 0.8162 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.253, allocations: 0.5199 MB / 0.8167 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.265, allocations: 7.916 MB / 0.8244 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/1.265, allocations: 48 kB / 0.8245 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.265, allocations: 16 kB / 0.8245 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.203e-05/1.265, allocations: 22.88 kB / 0.8245 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.288, allocations: 17.39 MB / 0.8415 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.288, allocations: 11.28 kB / 0.8415 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002964/1.291, allocations: 0.7644 MB / 0.8423 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003652/1.295, allocations: 1.564 MB / 0.8438 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005498/1.296, allocations: 116 kB / 0.8439 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/1.313, allocations: 21.29 MB / 0.8647 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.313, allocations: 11.88 kB / 0.8647 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/1.328, allocations: 11.48 MB / 0.8759 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.331, allocations: 1.181 MB / 0.8771 GB, free: 128.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/1.332, allocations: 107.9 kB / 0.8772 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/1.335, allocations: 227.8 kB / 0.8774 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007018/1.336, allocations: 343 kB / 0.8777 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/1.336, allocations: 140 kB / 0.8778 GB, free: 127.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003998/1.34, allocations: 3.14 MB / 0.8809 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.34, allocations: 4 kB / 0.8809 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006725/1.347, allocations: 1.88 MB / 0.8828 GB, free: 122.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.0163/1.363, allocations: 12.51 MB / 0.895 GB, free: 110 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.374, allocations: 7.804 MB / 0.9026 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.374, allocations: 4 kB / 0.9026 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006789/1.381, allocations: 4.394 MB / 0.9069 GB, free: 97.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006103/1.387, allocations: 1.366 MB / 0.9082 GB, free: 96.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09196/1.479, allocations: 63.62 MB / 0.9703 GB, free: 30.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007227/1.486, allocations: 6.839 MB / 0.977 GB, free: 23.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004577/1.491, allocations: 1.854 MB / 0.9788 GB, free: 21.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004772/1.495, allocations: 4.084 MB / 0.9828 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/1.495, allocations: 0 / 0.9828 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3908/1.886, allocations: 156.1 MB / 1.135 GB, free: 101.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/21.73, allocations: 27.8 kB / 1.135 GB, free: 101.8 MB / 0.5919 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.342313827000908]