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.001359/0.001359, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.00164/0.00164, allocations: 216.2 kB / 23 MB, free: 5.609 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.409/1.409, allocations: 230.4 MB / 256.5 MB, free: 8.473 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.001935/0.001935, allocations: 63.84 kB / 376.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2798, allocations: 53.32 MB / 429.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01776/0.2976, allocations: 14.18 MB / 443.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.3099, allocations: 5.246 MB / 449 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.3132, allocations: 87.69 kB / 449.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.3173, allocations: 1.161 MB / 450.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.3231, allocations: 1.426 MB / 451.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.3266, allocations: 1.016 MB / 452.7 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007211/0.3338, allocations: 4.109 MB / 456.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.3369, allocations: 1.809 MB / 458.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.3405, allocations: 1.951 MB / 460.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/0.345, allocations: 2.32 MB / 462.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.3464, allocations: 0.5078 MB / 463.4 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.3488, allocations: 0.777 MB / 464.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.3501, allocations: 1.153 MB / 465.3 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003502/0.3536, allocations: 2.155 MB / 467.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009508/0.3631, allocations: 6.86 MB / 474.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.3631, allocations: 4 kB / 474.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3631, allocations: 0 / 474.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002091/0.3633, allocations: 0 / 474.3 MB, free: 10.44 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.01431/0.3776, allocations: 4.615 MB / 478.9 MB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.3777, allocations: 12.03 kB / 478.9 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007769/0.3784, allocations: 459.7 kB / 479.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004523/0.383, allocations: 0.83 MB / 480.2 MB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/0.3886, allocations: 2.511 MB / 482.7 MB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.3889, allocations: 238.4 kB / 483 MB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009449/0.3898, allocations: 319.9 kB / 483.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009534/0.3993, allocations: 4.3 MB / 487.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.3995, allocations: 7.953 kB / 487.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006424/0.4001, allocations: 128 kB / 487.7 MB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.4003, allocations: 154.4 kB / 487.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008384/0.4087, allocations: 3.636 MB / 491.5 MB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/0.4359, allocations: 13.38 MB / 0.493 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008613/0.4445, allocations: 7.095 MB / 0.5 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/0.4481, allocations: 1.532 MB / 0.5015 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00895/0.457, allocations: 4.327 MB / 0.5057 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.4586, allocations: 0.8805 MB / 0.5066 GB, free: 12.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.357e-06/0.4586, allocations: 0 / 0.5066 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01488/0.4735, allocations: 6.741 MB / 0.5131 GB, free: 5.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.4736, allocations: 222.9 kB / 0.5134 GB, free: 5.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.4774, allocations: 1.94 MB / 0.5152 GB, free: 3.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.4776, allocations: 45.7 kB / 0.5153 GB, free: 3.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.4792, allocations: 1.533 MB / 0.5168 GB, free: 1.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/0.4798, allocations: 0.5036 MB / 0.5173 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006144/0.4804, allocations: 307.5 kB / 0.5176 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4806, allocations: 301.1 kB / 0.5179 GB, free: 452 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.4819, allocations: 0.6793 MB / 0.5185 GB, free: 15.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.4836, allocations: 1.225 MB / 0.5197 GB, free: 14.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.4867, allocations: 1.966 MB / 0.5216 GB, free: 12.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/0.4868, allocations: 11.94 kB / 0.5217 GB, free: 12.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004795/0.4915, allocations: 2.516 MB / 0.5241 GB, free: 9.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.4916, allocations: 12 kB / 0.5241 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.4916, allocations: 12 kB / 0.5241 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009485/0.4926, allocations: 343.4 kB / 0.5245 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.494, allocations: 375.4 kB / 0.5248 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.5015, allocations: 6.796 MB / 0.5315 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.503, allocations: 99.83 kB / 0.5315 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.5032, allocations: 72 kB / 0.5316 GB, free: 1.457 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.002101/0.5053, allocations: 1.036 MB / 0.5326 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005804/0.5059, allocations: 222.5 kB / 0.5328 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/0.5107, allocations: 2.329 MB / 0.5351 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5107, allocations: 12 kB / 0.5351 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/0.5108, allocations: 8 kB / 0.5351 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.5108, allocations: 7.969 kB / 0.5351 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.5211, allocations: 5.21 MB / 0.5402 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5211, allocations: 96 / 0.5402 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/0.5219, allocations: 183.7 kB / 0.5404 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.5233, allocations: 0.4959 MB / 0.5409 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.5235, allocations: 43.97 kB / 0.5409 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2505/0.774, allocations: 11.58 MB / 0.5522 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.774, allocations: 3.406 kB / 0.5522 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005912/0.7799, allocations: 3.243 MB / 0.5554 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009798/0.7809, allocations: 442.9 kB / 0.5558 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.7811, allocations: 37.98 kB / 0.5559 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008217/0.782, allocations: 58.94 kB / 0.5559 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.7823, allocations: 106.3 kB / 0.556 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.7824, allocations: 40.03 kB / 0.5561 GB, free: 108.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001989/0.7843, allocations: 1.331 MB / 0.5574 GB, free: 108.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7843, allocations: 0 / 0.5574 GB, free: 108.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002528/0.7869, allocations: 0.5904 MB / 0.5579 GB, free: 108.2 MB / 462.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.006118/0.793, allocations: 4.171 MB / 0.562 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.7962, allocations: 2.152 MB / 0.5641 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7962, allocations: 0 / 0.5641 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.7983, allocations: 1.562 MB / 0.5656 GB, free: 104.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.801, allocations: 0.5473 MB / 0.5662 GB, free: 103.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/0.8389, allocations: 20.36 MB / 0.5861 GB, free: 86.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002687/0.8415, allocations: 2.36 MB / 0.5884 GB, free: 84.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001384/0.8429, allocations: 409.1 kB / 0.5887 GB, free: 84.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.8443, allocations: 1.194 MB / 0.5899 GB, free: 82.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.693e-06/0.8443, allocations: 0 / 0.5899 GB, free: 82.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/0.9806, allocations: 55.79 MB / 0.6444 GB, free: 27.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.17, allocations: 4.062 kB / 0.6444 GB, free: 27.58 MB / 462.1 MB " [Timeout remaining time 645] (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 --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.562278205004986] 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.34604000201216 15.362902714 14.995718199 Calling exit ...