Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.001096/0.001096, allocations: 120.9 kB / 21.19 MB, free: 4.395 MB / 13.93 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.001372/0.001372, allocations: 213.3 kB / 24.48 MB, free: 1.398 MB / 13.93 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 0.9567/0.9567, allocations: 230.6 MB / 258.2 MB, free: 3.098 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1866/0.1866, allocations: 47.71 MB / 362.4 MB, free: 15.42 MB / 298.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 95.84 kB / 0.4978 GB, free: 3.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2992, allocations: 66.22 MB / 0.5624 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01085/0.31, allocations: 12.41 MB / 0.5745 GB, free: 1.199 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007835/0.3179, allocations: 4.947 MB / 0.5794 GB, free: 12.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.3196, allocations: 103.4 kB / 0.5795 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.3218, allocations: 1.107 MB / 0.5805 GB, free: 11.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.325, allocations: 1.433 MB / 0.5819 GB, free: 9.582 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.3271, allocations: 0.9775 MB / 0.5829 GB, free: 8.605 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003905/0.331, allocations: 4.127 MB / 0.5869 GB, free: 4.461 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.3331, allocations: 1.743 MB / 0.5886 GB, free: 2.648 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.3356, allocations: 1.982 MB / 0.5906 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.3385, allocations: 2.203 MB / 0.5927 GB, free: 14.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007948/0.3393, allocations: 0.5078 MB / 0.5932 GB, free: 13.94 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.3406, allocations: 0.7536 MB / 0.594 GB, free: 13.19 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007877/0.3414, allocations: 1.149 MB / 0.5951 GB, free: 12.04 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.343, allocations: 1.696 MB / 0.5967 GB, free: 10.33 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.3479, allocations: 6.903 MB / 0.6035 GB, free: 3.406 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3479, allocations: 0 / 0.6035 GB, free: 3.406 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3479, allocations: 0 / 0.6035 GB, free: 3.406 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.638e-05/0.348, allocations: 0 / 0.6035 GB, free: 3.406 MB / 442.7 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.006603/0.3546, allocations: 4.54 MB / 0.6079 GB, free: 14.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3546, allocations: 8.031 kB / 0.6079 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.3569, allocations: 0.8338 MB / 0.6087 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.3598, allocations: 2.436 MB / 0.6111 GB, free: 11.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3599, allocations: 234.4 kB / 0.6113 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.3602, allocations: 319.9 kB / 0.6116 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/0.3651, allocations: 4.446 MB / 0.616 GB, free: 6.398 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/0.3652, allocations: 3.938 kB / 0.616 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/0.3654, allocations: 132 kB / 0.6161 GB, free: 6.266 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.3655, allocations: 158.4 kB / 0.6163 GB, free: 6.109 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.3696, allocations: 3.629 MB / 0.6198 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.3818, allocations: 11.38 MB / 0.6309 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.3852, allocations: 2.718 MB / 0.6336 GB, free: 4.195 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.387, allocations: 1.523 MB / 0.6351 GB, free: 2.672 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004165/0.3911, allocations: 3.436 MB / 0.6384 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009819/0.3921, allocations: 1.027 MB / 0.6394 GB, free: 14.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 2.876e-06/0.3921, allocations: 0 / 0.6394 GB, free: 14.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.008047/0.4001, allocations: 6.146 MB / 0.6454 GB, free: 7.906 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/0.4002, allocations: 222.9 kB / 0.6456 GB, free: 7.637 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.402, allocations: 1.726 MB / 0.6473 GB, free: 5.902 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.402, allocations: 53.69 kB / 0.6474 GB, free: 5.844 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009572/0.403, allocations: 1.548 MB / 0.6489 GB, free: 4.281 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.4033, allocations: 0.5036 MB / 0.6494 GB, free: 3.773 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.4036, allocations: 311.5 kB / 0.6497 GB, free: 3.465 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.4037, allocations: 305.1 kB / 0.65 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.4044, allocations: 0.6793 MB / 0.6506 GB, free: 2.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.4057, allocations: 1.4 MB / 0.652 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.4077, allocations: 1.963 MB / 0.6539 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4077, allocations: 4 kB / 0.6539 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002597/0.4103, allocations: 2.429 MB / 0.6563 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4103, allocations: 12 kB / 0.6563 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4103, allocations: 16 kB / 0.6563 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/0.4109, allocations: 335.4 kB / 0.6566 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/0.4117, allocations: 379.4 kB / 0.657 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/0.416, allocations: 6.342 MB / 0.6632 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.4168, allocations: 96.06 kB / 0.6633 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/0.4168, allocations: 75.98 kB / 0.6633 GB, free: 4.637 MB / 0.4948 GB 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.001398/0.4182, allocations: 1.036 MB / 0.6644 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4184, allocations: 190.8 kB / 0.6645 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.4209, allocations: 2.173 MB / 0.6667 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.4209, allocations: 12 kB / 0.6667 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4209, allocations: 12 kB / 0.6667 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.4209, allocations: 7.969 kB / 0.6667 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00511/0.426, allocations: 4.342 MB / 0.6709 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.426, allocations: 4.031 kB / 0.6709 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.4265, allocations: 179.7 kB / 0.6711 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007612/0.4272, allocations: 0.5063 MB / 0.6716 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.4273, allocations: 39.97 kB / 0.6716 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007066/0.4344, allocations: 10.8 MB / 0.6822 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4344, allocations: 4.031 kB / 0.6822 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.4376, allocations: 3.086 MB / 0.6852 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/0.4382, allocations: 346.6 kB / 0.6855 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.4383, allocations: 35.98 kB / 0.6856 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.4388, allocations: 59.95 kB / 0.6856 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.439, allocations: 109.1 kB / 0.6857 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.4391, allocations: 40.36 kB / 0.6858 GB, free: 13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001222/0.4403, allocations: 1.166 MB / 0.6869 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.4403, allocations: 4 kB / 0.6869 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001646/0.4419, allocations: 0.5859 MB / 0.6875 GB, free: 11.25 MB / 0.5261 GB 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 (100): * Single equations (assignments): 93 * 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.001248/0.4432, allocations: 0.5011 MB / 0.688 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002478/0.4456, allocations: 2.08 MB / 0.69 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4457, allocations: 4 kB / 0.69 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.4471, allocations: 1.555 MB / 0.6915 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4482, allocations: 455.8 kB / 0.692 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007314/0.4555, allocations: 5.908 MB / 0.6977 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2371/0.6926, allocations: 1.758 MB / 0.6995 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/0.6934, allocations: 142.9 kB / 0.6996 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/0.6934, allocations: 0 / 0.6996 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.06467/0.7581, allocations: 115.3 MB / 0.8122 GB, free: 16.76 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.621178698027506]