Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001251/0.001251, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001397/0.001397, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.91 kB / 378.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 53.4 MB / 432 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.04049/0.4064, allocations: 29.76 MB / 461.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02572/0.4322, allocations: 9.659 MB / 471.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009866/0.442, allocations: 302.4 kB / 471.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02259/0.4646, allocations: 7.713 MB / 479.4 MB, free: 6.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01702/0.4816, allocations: 3.889 MB / 483.3 MB, free: 2.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009402/0.491, allocations: 2.308 MB / 485.6 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02483/0.5159, allocations: 13.44 MB / 499 MB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04137/0.5573, allocations: 15.17 MB / 0.5021 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01791/0.5752, allocations: 6.822 MB / 0.5088 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0188/0.594, allocations: 7.608 MB / 0.5162 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0066/0.6006, allocations: 1.895 MB / 0.5181 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009425/0.61, allocations: 2.32 MB / 0.5203 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008714/0.6187, allocations: 3.807 MB / 0.5241 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01481/0.6335, allocations: 5.623 MB / 0.5296 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3593/0.9928, allocations: 25.47 MB / 0.5544 GB, free: 42.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.9928, allocations: 1.281 kB / 0.5544 GB, free: 42.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.9928, allocations: 2.516 kB / 0.5544 GB, free: 42.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001256/0.9941, allocations: 1.969 kB / 0.5544 GB, free: 42.29 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.05543/1.05, allocations: 15.06 MB / 0.5691 GB, free: 35.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.05, allocations: 10.28 kB / 0.5691 GB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002921/1.05, allocations: 294.6 kB / 0.5694 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007634/1.057, allocations: 1.542 MB / 0.5709 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03937/1.097, allocations: 6.752 MB / 0.5775 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01941/1.116, allocations: 8.234 MB / 0.5856 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008273/1.117, allocations: 0.8107 MB / 0.5864 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006491/1.124, allocations: 1.067 MB / 0.5874 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05666/1.18, allocations: 17.75 MB / 0.6047 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005315/1.181, allocations: 23.89 kB / 0.6048 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006383/1.187, allocations: 450.1 kB / 0.6052 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000635/1.188, allocations: 0.6436 MB / 0.6058 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04135/1.229, allocations: 16.42 MB / 0.6219 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1313/1.36, allocations: 49.64 MB / 0.6703 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02378/1.384, allocations: 11.94 MB / 0.682 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008994/1.393, allocations: 4.029 MB / 0.6859 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02746/1.421, allocations: 11.04 MB / 0.6967 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005712/1.426, allocations: 3.411 MB / 0.7 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=434): time 8.205e-06/1.426, allocations: 5.797 kB / 0.7001 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=452): time 0.05676/1.483, allocations: 22.96 MB / 0.7225 GB, free: 3.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003169/1.484, allocations: 411.4 kB / 0.7229 GB, free: 2.992 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009395/1.493, allocations: 4.612 MB / 0.7274 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001321/1.494, allocations: 109.6 kB / 0.7275 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.006521/1.501, allocations: 4.903 MB / 0.7323 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002774/1.504, allocations: 1.622 MB / 0.7338 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002478/1.506, allocations: 1.149 MB / 0.735 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.506, allocations: 309.1 kB / 0.7353 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005035/1.511, allocations: 2.838 MB / 0.738 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007544/1.519, allocations: 5.372 MB / 0.7433 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/1.533, allocations: 8.322 MB / 0.7514 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/1.533, allocations: 20 kB / 0.7514 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.3179/1.851, allocations: 9.516 MB / 0.7607 GB, free: 208 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/1.851, allocations: 34.31 kB / 0.7607 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/1.851, allocations: 66.52 kB / 0.7608 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/1.855, allocations: 1.476 MB / 0.7623 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/1.861, allocations: 1.333 MB / 0.7636 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/1.88, allocations: 16.86 MB / 0.78 GB, free: 198.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008294/1.888, allocations: 346.9 kB / 0.7804 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/1.89, allocations: 291.9 kB / 0.7806 GB, free: 198.3 MB / 0.5762 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.009398/1.899, allocations: 3.909 MB / 0.7844 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001727/1.901, allocations: 0.5256 MB / 0.785 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.914, allocations: 7.771 MB / 0.7926 GB, free: 192 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/1.914, allocations: 51.94 kB / 0.7926 GB, free: 192 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/1.915, allocations: 16 kB / 0.7926 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/1.915, allocations: 22.5 kB / 0.7926 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03884/1.953, allocations: 16.4 MB / 0.8087 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/1.953, allocations: 7.984 kB / 0.8087 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003825/1.957, allocations: 0.7638 MB / 0.8094 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004348/1.962, allocations: 1.563 MB / 0.8109 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008678/1.962, allocations: 119.9 kB / 0.811 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/1.983, allocations: 20.31 MB / 0.8309 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.983, allocations: 8 kB / 0.8309 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/2.001, allocations: 11.35 MB / 0.842 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/2.004, allocations: 1.134 MB / 0.8431 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/2.006, allocations: 96.56 kB / 0.8432 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/2.009, allocations: 231.8 kB / 0.8434 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000831/2.01, allocations: 363.4 kB / 0.8437 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000293/2.01, allocations: 148.1 kB / 0.8439 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004703/2.015, allocations: 3.138 MB / 0.8469 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.015, allocations: 0 / 0.8469 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009197/2.024, allocations: 1.892 MB / 0.8488 GB, free: 136.9 MB / 0.5762 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 (397): * Single equations (assignments): 388 * 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,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.01891/2.043, allocations: 12.41 MB / 0.8609 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01298/2.056, allocations: 7.715 MB / 0.8684 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/2.056, allocations: 4 kB / 0.8684 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007406/2.063, allocations: 4.384 MB / 0.8727 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006937/2.07, allocations: 1.356 MB / 0.874 GB, free: 111 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1124/2.182, allocations: 63.47 MB / 0.936 GB, free: 45.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009958/2.192, allocations: 6.418 MB / 0.9423 GB, free: 38.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005861/2.198, allocations: 1.858 MB / 0.9441 GB, free: 36.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007177/2.205, allocations: 4.037 MB / 0.9481 GB, free: 32.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.412e-06/2.205, allocations: 0 / 0.9481 GB, free: 32.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5037/2.709, allocations: 162.8 MB / 1.107 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.54/26.25, allocations: 11.17 kB / 1.107 GB, free: 107.3 MB / 0.5762 GB " [Timeout remaining time 633] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 80.16507226903923] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'mass.s', 'mass.v', 'massQS.s', 'massQS.v', 'vfController.x'] 26.561668882961385 26.57548823 25.579366304 Calling exit ...