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.002043/0.002043, allocations: 117.3 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.002667/0.002667, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 230.2 MB / 254.5 MB, free: 15.24 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 373.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09985, allocations: 53.32 MB / 426.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2452/0.3451, allocations: 34.78 MB / 461.5 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0241/0.3692, allocations: 10.03 MB / 471.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00818/0.3774, allocations: 248.4 kB / 471.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02324/0.4006, allocations: 8.289 MB / 480 MB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0158/0.4164, allocations: 3.881 MB / 483.9 MB, free: 4.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008297/0.4247, allocations: 2.302 MB / 486.2 MB, free: 3.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02245/0.4471, allocations: 13.34 MB / 499.6 MB, free: 8.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03647/0.4836, allocations: 17.03 MB / 0.5045 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0135/0.4971, allocations: 6.674 MB / 0.511 GB, free: 460 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/0.5111, allocations: 7.596 MB / 0.5184 GB, free: 8.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005658/0.5168, allocations: 1.898 MB / 0.5203 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008162/0.525, allocations: 2.331 MB / 0.5225 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006739/0.5317, allocations: 3.803 MB / 0.5263 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01481/0.5465, allocations: 7.202 MB / 0.5333 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03518/0.5817, allocations: 25.37 MB / 0.5581 GB, free: 108 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5817, allocations: 0 / 0.5581 GB, free: 108 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5817, allocations: 4 kB / 0.5581 GB, free: 104 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005904/0.5823, allocations: 0 / 0.5581 GB, free: 104 kB / 462.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.04742/0.6297, allocations: 15.13 MB / 0.5728 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.6298, allocations: 12.03 kB / 0.5729 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00554/0.6353, allocations: 1.539 MB / 0.5744 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04055/0.6758, allocations: 6.759 MB / 0.581 GB, free: 8.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0212/0.697, allocations: 8.209 MB / 0.589 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/0.6981, allocations: 0.8146 MB / 0.5898 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004271/0.7023, allocations: 1.07 MB / 0.5908 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04669/0.749, allocations: 17.45 MB / 0.6079 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005764/0.7496, allocations: 19.94 kB / 0.6079 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003519/0.7531, allocations: 455.9 kB / 0.6083 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008154/0.7539, allocations: 0.6436 MB / 0.6089 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4298/1.184, allocations: 16.42 MB / 0.625 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1068/1.291, allocations: 55.45 MB / 0.6791 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/1.312, allocations: 33.19 MB / 0.7115 GB, free: 77.68 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006553/1.318, allocations: 4.042 MB / 0.7155 GB, free: 75.48 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02281/1.341, allocations: 12.48 MB / 0.7277 GB, free: 63.17 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004556/1.346, allocations: 3.106 MB / 0.7307 GB, free: 60 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=434): time 8.576e-06/1.346, allocations: 0 / 0.7307 GB, free: 60 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04974/1.395, allocations: 23.62 MB / 0.7538 GB, free: 36.67 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.396, allocations: 423.4 kB / 0.7542 GB, free: 36.17 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008027/1.404, allocations: 4.609 MB / 0.7587 GB, free: 31.59 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009007/1.405, allocations: 101.7 kB / 0.7588 GB, free: 31.49 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00348/1.408, allocations: 4.918 MB / 0.7636 GB, free: 26.68 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/1.41, allocations: 1.614 MB / 0.7652 GB, free: 25.09 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002826/1.412, allocations: 1.145 MB / 0.7663 GB, free: 23.93 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.85e-05/1.413, allocations: 305.1 kB / 0.7666 GB, free: 23.63 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/1.417, allocations: 2.842 MB / 0.7693 GB, free: 20.79 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005441/1.422, allocations: 5.016 MB / 0.7742 GB, free: 14.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009543/1.432, allocations: 8.323 MB / 0.7824 GB, free: 5.559 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.706e-05/1.432, allocations: 20 kB / 0.7824 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01873/1.45, allocations: 9.581 MB / 0.7917 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.45, allocations: 32 kB / 0.7918 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/1.451, allocations: 67.94 kB / 0.7918 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004409/1.455, allocations: 1.488 MB / 0.7933 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005708/1.461, allocations: 1.33 MB / 0.7946 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/1.486, allocations: 17.62 MB / 0.8118 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/1.491, allocations: 359.6 kB / 0.8121 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.492, allocations: 291.9 kB / 0.8124 GB, free: 6.027 MB / 0.545 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.008234/1.501, allocations: 3.904 MB / 0.8162 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/1.502, allocations: 0.524 MB / 0.8167 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/1.52, allocations: 7.911 MB / 0.8245 GB, free: 9.59 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/1.52, allocations: 48 kB / 0.8245 GB, free: 9.543 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.954e-05/1.52, allocations: 16 kB / 0.8245 GB, free: 9.527 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.086e-05/1.52, allocations: 23.91 kB / 0.8246 GB, free: 9.504 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.278/1.798, allocations: 17.38 MB / 0.8415 GB, free: 179.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/1.798, allocations: 5.297 kB / 0.8415 GB, free: 179.6 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003308/1.801, allocations: 0.7676 MB / 0.8423 GB, free: 179.6 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00438/1.806, allocations: 1.569 MB / 0.8438 GB, free: 179.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004993/1.806, allocations: 115.3 kB / 0.8439 GB, free: 179.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02236/1.828, allocations: 21.28 MB / 0.8647 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.828, allocations: 8.438 kB / 0.8647 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01992/1.848, allocations: 11.49 MB / 0.8759 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003492/1.852, allocations: 1.17 MB / 0.8771 GB, free: 158.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.853, allocations: 104.5 kB / 0.8772 GB, free: 158.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/1.856, allocations: 230.2 kB / 0.8774 GB, free: 158.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008224/1.857, allocations: 349.1 kB / 0.8777 GB, free: 158.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/1.857, allocations: 145.2 kB / 0.8779 GB, free: 158.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004949/1.862, allocations: 3.134 MB / 0.8809 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/1.862, allocations: 0 / 0.8809 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007572/1.87, allocations: 1.891 MB / 0.8828 GB, free: 157.3 MB / 0.5607 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.01809/1.888, allocations: 12.53 MB / 0.895 GB, free: 150.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.9, allocations: 7.793 MB / 0.9026 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.9, allocations: 4 kB / 0.9026 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007416/1.908, allocations: 4.395 MB / 0.9069 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009106/1.917, allocations: 1.348 MB / 0.9082 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1145/2.031, allocations: 63.48 MB / 0.9702 GB, free: 74.68 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0115/2.043, allocations: 6.839 MB / 0.9769 GB, free: 67.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00632/2.049, allocations: 1.858 MB / 0.9787 GB, free: 65.94 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006371/2.055, allocations: 4.088 MB / 0.9827 GB, free: 61.85 MB / 0.5607 GB Notification: Performance of SimCode: time 1.032e-06/2.055, allocations: 7.938 kB / 0.9827 GB, free: 61.84 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5257/2.581, allocations: 155.5 MB / 1.135 GB, free: 133.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.4/27.98, allocations: 12.25 kB / 1.135 GB, free: 133.2 MB / 0.5763 GB " [Timeout remaining time 632] (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: 84.0191829977557] 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'] 28.216247263830155 28.232721644 27.64741938 Calling exit ...