Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.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.002077/0.002077, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.002259/0.002259, allocations: 164.8 kB / 23.95 MB, free: 0.6016 MB / 18.57 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.704/1.704, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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.3881/0.3881, allocations: 34.87 MB / 295.4 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 443.6 MB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.727e-05, allocations: 4.672 kB / 443.6 MB, free: 460 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.2751/0.2751, allocations: 8.535 MB / 452.1 MB, free: 38.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006333/0.2815, allocations: 3.433 MB / 455.6 MB, free: 36.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.2833, allocations: 64.69 kB / 455.6 MB, free: 36.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.2855, allocations: 0.7299 MB / 456.4 MB, free: 36.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.2885, allocations: 0.9184 MB / 457.3 MB, free: 35.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2898, allocations: 458.9 kB / 457.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.2927, allocations: 2.515 MB / 460.2 MB, free: 33.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.294, allocations: 1.007 MB / 461.3 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.2963, allocations: 1.628 MB / 462.9 MB, free: 32.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.2978, allocations: 1.209 MB / 464.1 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003692/0.2982, allocations: 282 kB / 464.4 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008547/0.2991, allocations: 429.1 kB / 464.8 MB, free: 32.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006689/0.2997, allocations: 0.8327 MB / 465.6 MB, free: 31.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.3008, allocations: 0.8763 MB / 466.5 MB, free: 31.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004004/0.3048, allocations: 3.806 MB / 470.3 MB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3048, allocations: 0 / 470.3 MB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3048, allocations: 0 / 470.3 MB, free: 30.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.213e-05/0.3049, allocations: 0 / 470.3 MB, free: 30.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.00548/0.3104, allocations: 2.643 MB / 472.9 MB, free: 28.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3104, allocations: 9.125 kB / 473 MB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.3113, allocations: 292.8 kB / 473.2 MB, free: 28.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.3137, allocations: 1.329 MB / 474.6 MB, free: 27.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/0.3138, allocations: 141 kB / 474.7 MB, free: 27.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.3141, allocations: 201.8 kB / 474.9 MB, free: 27.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.3178, allocations: 2.54 MB / 477.4 MB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.3178, allocations: 3.812 kB / 477.4 MB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.318, allocations: 75.53 kB / 477.5 MB, free: 26.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.083e-05/0.3181, allocations: 95.39 kB / 477.6 MB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.321, allocations: 1.984 MB / 479.6 MB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.3324, allocations: 6.313 MB / 485.9 MB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.3345, allocations: 1.065 MB / 487 MB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.3363, allocations: 0.8162 MB / 487.8 MB, free: 21.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.3366, allocations: 54.09 kB / 487.8 MB, free: 21.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.3379, allocations: 0.7847 MB / 488.6 MB, free: 20.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 3.316e-06/0.3379, allocations: 0 / 488.6 MB, free: 20.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.0181/0.3561, allocations: 6.824 MB / 495.5 MB, free: 18.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3561, allocations: 175.4 kB / 495.6 MB, free: 18.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.3583, allocations: 1.281 MB / 496.9 MB, free: 17.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.3584, allocations: 46.42 kB / 497 MB, free: 17.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000805/0.3592, allocations: 0.9715 MB / 497.9 MB, free: 16.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.3596, allocations: 435.7 kB / 498.3 MB, free: 16.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003936/0.36, allocations: 242.8 kB / 498.6 MB, free: 16.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3601, allocations: 361.7 kB / 498.9 MB, free: 16.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.3613, allocations: 0.6351 MB / 499.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.3629, allocations: 1.102 MB / 0.4889 GB, free: 15.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.3654, allocations: 1.714 MB / 0.4906 GB, free: 14.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.3654, allocations: 3.281 kB / 0.4906 GB, free: 14.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004751/0.3702, allocations: 2.249 MB / 0.4928 GB, free: 13.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.3702, allocations: 13.03 kB / 0.4928 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.3702, allocations: 9.281 kB / 0.4928 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.3715, allocations: 498 kB / 0.4933 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.3727, allocations: 299.8 kB / 0.4936 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006801/0.3795, allocations: 6.751 MB / 0.5002 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.3812, allocations: 92.31 kB / 0.5003 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.3814, allocations: 55.14 kB / 0.5003 GB, free: 7.941 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00137/0.3827, allocations: 0.6347 MB / 0.501 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.3831, allocations: 160.8 kB / 0.5011 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.387, allocations: 2.07 MB / 0.5031 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.387, allocations: 12 kB / 0.5031 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.387, allocations: 4 kB / 0.5031 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.387, allocations: 6.141 kB / 0.5031 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006428/0.3934, allocations: 3.874 MB / 0.5069 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3934, allocations: 0 / 0.5069 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007601/0.3942, allocations: 195.7 kB / 0.5071 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.3954, allocations: 0.5392 MB / 0.5076 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.3955, allocations: 35.97 kB / 0.5077 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/0.4048, allocations: 8.169 MB / 0.5157 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.4048, allocations: 4 kB / 0.5157 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006292/0.4111, allocations: 3.009 MB / 0.5186 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.4121, allocations: 282.9 kB / 0.5189 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.4123, allocations: 35.98 kB / 0.5189 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008/0.4131, allocations: 63.94 kB / 0.519 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.4134, allocations: 100.8 kB / 0.5191 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.934e-05/0.4135, allocations: 39.98 kB / 0.5191 GB, free: 5.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001576/0.4151, allocations: 0.874 MB / 0.5199 GB, free: 4.941 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4151, allocations: 7.938 kB / 0.52 GB, free: 4.934 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00205/0.4172, allocations: 447.9 kB / 0.5204 GB, free: 4.496 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00328/0.4204, allocations: 0.5199 MB / 0.5209 GB, free: 4.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004556/0.425, allocations: 2.025 MB / 0.5229 GB, free: 2.086 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.425, allocations: 0.625 kB / 0.5229 GB, free: 2.086 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003248/0.4283, allocations: 1.403 MB / 0.5242 GB, free: 0.625 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.4305, allocations: 358 kB / 0.5246 GB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008663/0.4392, allocations: 4.102 MB / 0.5286 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.4411, allocations: 1.122 MB / 0.5297 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001528/0.4426, allocations: 307.8 kB / 0.53 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.4429, allocations: 104.5 kB / 0.5301 GB, free: 10.55 MB / 442.7 MB Notification: Performance of SimCode: time 2.875e-06/0.4429, allocations: 4 kB / 0.5301 GB, free: 10.54 MB / 442.7 MB Notification: Performance of Templates: time 0.05893/0.5019, allocations: 23.58 MB / 0.5531 GB, free: 3.27 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.595044126035646]