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.001943/0.001943, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002074/0.002074, allocations: 212 kB / 24.54 MB, free: 4.016 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001912/0.001912, allocations: 64.77 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3079, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01885/0.3268, allocations: 14.19 MB / 446.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.339, allocations: 5.243 MB / 451.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.3422, allocations: 107.3 kB / 451.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003945/0.3462, allocations: 1.157 MB / 452.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.3521, allocations: 1.449 MB / 454.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.3554, allocations: 1.028 MB / 455.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006884/0.3623, allocations: 4.14 MB / 459.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00311/0.3654, allocations: 1.805 MB / 461.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.3689, allocations: 1.986 MB / 463 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004527/0.3734, allocations: 2.328 MB / 465.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.3746, allocations: 0.5078 MB / 465.9 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.3768, allocations: 0.777 MB / 466.7 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.3781, allocations: 1.149 MB / 467.8 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004265/0.3824, allocations: 2.159 MB / 470 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.3949, allocations: 6.864 MB / 476.8 MB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.3949, allocations: 0 / 476.8 MB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.395, allocations: 0 / 476.8 MB, free: 9.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003034/0.3953, allocations: 0 / 476.8 MB, free: 9.77 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01593/0.4112, allocations: 4.544 MB / 481.4 MB, free: 5.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4112, allocations: 16.03 kB / 481.4 MB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008274/0.4121, allocations: 451.7 kB / 481.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/0.4164, allocations: 0.83 MB / 482.7 MB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/0.4216, allocations: 2.443 MB / 485.1 MB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.4219, allocations: 234.4 kB / 485.3 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006329/0.4225, allocations: 316 kB / 485.6 MB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009537/0.432, allocations: 4.304 MB / 489.9 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.4321, allocations: 3.953 kB / 489.9 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004879/0.4326, allocations: 128 kB / 490.1 MB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.4328, allocations: 154.4 kB / 490.2 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0075/0.4403, allocations: 3.633 MB / 493.9 MB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.4676, allocations: 13.07 MB / 0.495 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006022/0.4736, allocations: 2.714 MB / 0.4977 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003199/0.4768, allocations: 1.515 MB / 0.4992 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008244/0.4851, allocations: 3.835 MB / 0.5029 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/0.4866, allocations: 0.8766 MB / 0.5038 GB, free: 2.285 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.356e-06/0.4866, allocations: 0 / 0.5038 GB, free: 2.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01513/0.5018, allocations: 6.142 MB / 0.5098 GB, free: 12.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/0.502, allocations: 222.9 kB / 0.51 GB, free: 11.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004789/0.5068, allocations: 1.94 MB / 0.5119 GB, free: 9.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.5069, allocations: 49.7 kB / 0.5119 GB, free: 9.777 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.5088, allocations: 1.525 MB / 0.5134 GB, free: 8.238 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/0.5094, allocations: 0.5036 MB / 0.5139 GB, free: 7.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006406/0.51, allocations: 307.5 kB / 0.5142 GB, free: 7.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5102, allocations: 309.1 kB / 0.5145 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.5115, allocations: 0.6715 MB / 0.5151 GB, free: 6.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.5134, allocations: 1.229 MB / 0.5163 GB, free: 4.996 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.5166, allocations: 1.962 MB / 0.5183 GB, free: 2.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.5166, allocations: 7.938 kB / 0.5183 GB, free: 2.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004832/0.5214, allocations: 2.444 MB / 0.5207 GB, free: 368 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.5215, allocations: 12 kB / 0.5207 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/0.5215, allocations: 12 kB / 0.5207 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009727/0.5225, allocations: 347 kB / 0.521 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.5239, allocations: 379.3 kB / 0.5214 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007817/0.5317, allocations: 6.477 MB / 0.5277 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.5333, allocations: 95.91 kB / 0.5278 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.5335, allocations: 75.98 kB / 0.5279 GB, free: 8.629 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.002228/0.5358, allocations: 1.044 MB / 0.5289 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/0.5364, allocations: 218.6 kB / 0.5291 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/0.5411, allocations: 2.17 MB / 0.5312 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.5411, allocations: 16 kB / 0.5312 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/0.5412, allocations: 11.94 kB / 0.5312 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.5412, allocations: 7.969 kB / 0.5312 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2598/0.801, allocations: 5.033 MB / 0.5362 GB, free: 98.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/0.801, allocations: 1.594 kB / 0.5362 GB, free: 98.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.8023, allocations: 173.5 kB / 0.5363 GB, free: 98.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.8041, allocations: 0.5028 MB / 0.5368 GB, free: 98.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.8043, allocations: 41.16 kB / 0.5369 GB, free: 98.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009877/0.8142, allocations: 11.05 MB / 0.5476 GB, free: 90.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8142, allocations: 0 / 0.5476 GB, free: 90.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/0.8192, allocations: 3.091 MB / 0.5507 GB, free: 88.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.8202, allocations: 371.3 kB / 0.551 GB, free: 88.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.8204, allocations: 31.94 kB / 0.5511 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/0.8212, allocations: 65.12 kB / 0.5511 GB, free: 88.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.8215, allocations: 115.3 kB / 0.5512 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.8216, allocations: 42.53 kB / 0.5513 GB, free: 88.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001658/0.8232, allocations: 1.328 MB / 0.5526 GB, free: 88.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8232, allocations: 3.875 kB / 0.5526 GB, free: 88.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001987/0.8252, allocations: 0.5858 MB / 0.5531 GB, free: 87.97 MB / 446.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.005861/0.8311, allocations: 4.008 MB / 0.5571 GB, free: 86.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.8341, allocations: 2.085 MB / 0.5591 GB, free: 85.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.8341, allocations: 0 / 0.5591 GB, free: 85.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.8362, allocations: 1.557 MB / 0.5606 GB, free: 84.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.8386, allocations: 0.5518 MB / 0.5611 GB, free: 83.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02832/0.8669, allocations: 20.21 MB / 0.5809 GB, free: 64.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/0.8698, allocations: 2.36 MB / 0.5832 GB, free: 62.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.8712, allocations: 401.2 kB / 0.5836 GB, free: 61.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/0.8727, allocations: 1.198 MB / 0.5847 GB, free: 60.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.492e-06/0.8727, allocations: 0 / 0.5847 GB, free: 60.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/0.9824, allocations: 56.98 MB / 0.6404 GB, free: 4.141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.8, allocations: 11.86 kB / 0.6404 GB, free: 4.129 MB / 446.1 MB " [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: 19.36236399319023] 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'] 16.00182398967445 16.030231568 15.629060626 Calling exit ...