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_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.001215/0.001215, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.00129/0.00129, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.441/1.441, allocations: 230.5 MB / 254.7 MB, free: 14.96 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_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_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.001923/0.001923, allocations: 63.84 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 53.32 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2416/0.3519, allocations: 14.13 MB / 441 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.3634, allocations: 5.229 MB / 446.3 MB, free: 228 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003961/0.3674, allocations: 83.59 kB / 446.4 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004211/0.3716, allocations: 1.156 MB / 447.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006148/0.3778, allocations: 1.433 MB / 448.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.381, allocations: 0.9982 MB / 449.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007361/0.3884, allocations: 4.107 MB / 454 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003975/0.3923, allocations: 2.277 MB / 456.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/0.3972, allocations: 1.935 MB / 458.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005176/0.4023, allocations: 2.326 MB / 460.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.4039, allocations: 0.5088 MB / 461.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.4067, allocations: 0.7725 MB / 461.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.4082, allocations: 1.152 MB / 463 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004695/0.4129, allocations: 2.154 MB / 465.2 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.4231, allocations: 6.868 MB / 472 MB, free: 1.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4231, allocations: 0 / 472 MB, free: 1.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4231, allocations: 4 kB / 472 MB, free: 1.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002164/0.4233, allocations: 0 / 472 MB, free: 1.414 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01484/0.4382, allocations: 4.615 MB / 476.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4382, allocations: 9.094 kB / 476.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000986/0.4392, allocations: 461.8 kB / 477.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.4439, allocations: 0.826 MB / 477.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006316/0.4502, allocations: 2.512 MB / 480.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.4505, allocations: 242.4 kB / 480.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009473/0.4514, allocations: 316 kB / 481 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009201/0.4606, allocations: 4.304 MB / 485.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.968e-05/0.4607, allocations: 6.578 kB / 485.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00033/0.461, allocations: 128 kB / 485.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.4612, allocations: 150.4 kB / 485.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007387/0.4686, allocations: 3.636 MB / 489.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.4945, allocations: 13.38 MB / 0.4908 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008414/0.5029, allocations: 7.092 MB / 0.4977 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/0.5062, allocations: 1.537 MB / 0.4992 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008663/0.5149, allocations: 4.325 MB / 0.5035 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.5164, allocations: 0.8689 MB / 0.5043 GB, free: 5.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.136e-06/0.5164, allocations: 4 kB / 0.5043 GB, free: 5.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01454/0.531, allocations: 6.741 MB / 0.5109 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.5311, allocations: 226.9 kB / 0.5111 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.5342, allocations: 1.944 MB / 0.513 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.5343, allocations: 45.7 kB / 0.5131 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.5359, allocations: 1.525 MB / 0.5146 GB, free: 11.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005224/0.5364, allocations: 0.5113 MB / 0.5151 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005143/0.5369, allocations: 311.5 kB / 0.5154 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5371, allocations: 301.1 kB / 0.5156 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.5382, allocations: 0.6754 MB / 0.5163 GB, free: 9.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.5399, allocations: 1.229 MB / 0.5175 GB, free: 7.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.5428, allocations: 1.97 MB / 0.5194 GB, free: 5.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.5428, allocations: 4 kB / 0.5194 GB, free: 5.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004417/0.5473, allocations: 2.512 MB / 0.5219 GB, free: 3.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.5473, allocations: 16.06 kB / 0.5219 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.5473, allocations: 19.98 kB / 0.5219 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008896/0.5482, allocations: 331.2 kB / 0.5222 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.5496, allocations: 376.5 kB / 0.5226 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007449/0.557, allocations: 6.798 MB / 0.5292 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.559, allocations: 104.1 kB / 0.5293 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.5592, allocations: 72 kB / 0.5294 GB, free: 10.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * 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,4,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.001985/0.5612, allocations: 1.032 MB / 0.5304 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/0.5617, allocations: 218.6 kB / 0.5306 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.5661, allocations: 2.329 MB / 0.5329 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.5661, allocations: 16 kB / 0.5329 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.5661, allocations: 8 kB / 0.5329 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.5661, allocations: 11.97 kB / 0.5329 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009504/0.5756, allocations: 5.21 MB / 0.538 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.5756, allocations: 0 / 0.538 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/0.5764, allocations: 179.8 kB / 0.5382 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.5778, allocations: 0.496 MB / 0.5387 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.5779, allocations: 39.98 kB / 0.5387 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/0.591, allocations: 11.58 MB / 0.55 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.591, allocations: 4.031 kB / 0.55 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006279/0.5973, allocations: 3.241 MB / 0.5532 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.5987, allocations: 443.6 kB / 0.5536 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006784/0.5994, allocations: 36 kB / 0.5536 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.6006, allocations: 63.94 kB / 0.5537 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/0.6009, allocations: 101.3 kB / 0.5538 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.601, allocations: 39.98 kB / 0.5538 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002774/0.6038, allocations: 1.331 MB / 0.5551 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6038, allocations: 4 kB / 0.5551 GB, free: 15.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0036/0.6074, allocations: 0.5898 MB / 0.5557 GB, free: 14.91 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (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,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3,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.008228/0.6156, allocations: 4.166 MB / 0.5598 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.6196, allocations: 2.167 MB / 0.5619 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6196, allocations: 0.875 kB / 0.5619 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.6223, allocations: 1.547 MB / 0.5634 GB, free: 6.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/0.6255, allocations: 0.5505 MB / 0.5639 GB, free: 6.445 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04023/0.6657, allocations: 20.34 MB / 0.5838 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/0.6691, allocations: 2.356 MB / 0.5861 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001568/0.6707, allocations: 405.2 kB / 0.5865 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/0.6725, allocations: 1.194 MB / 0.5877 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.6725, allocations: 0 / 0.5877 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3455/1.018, allocations: 55.69 MB / 0.642 GB, free: 165 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.38, allocations: 1.781 kB / 0.642 GB, free: 165 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.776727770920843] 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', 'mass.s', 'mass.v', 'vfController.x'] 15.546298301313072 15.555703433 15.130304755 Calling exit ...