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.0009134/0.0009134, allocations: 88.28 kB / 21.44 MB, free: 3.105 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.0009085/0.0009085, allocations: 157.4 kB / 24.7 MB, free: 9.453 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 0.9159/0.9159, allocations: 177 MB / 204.9 MB, free: 5.695 MB / 186.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.2318/0.2318, allocations: 34.86 MB / 296.2 MB, free: 0.5078 MB / 266.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.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 1.072e-06/1.072e-06, allocations: 0 / 443.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.104e-05, allocations: 2.281 kB / 443.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.1728/0.1728, allocations: 8.53 MB / 452.2 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.1764, allocations: 3.436 MB / 455.6 MB, free: 36.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005283/0.1769, allocations: 68.69 kB / 455.7 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1779, allocations: 0.725 MB / 456.4 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.1791, allocations: 0.927 MB / 457.3 MB, free: 35.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.1796, allocations: 460.5 kB / 457.8 MB, free: 35.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.1808, allocations: 2.521 MB / 460.3 MB, free: 34.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008897/0.1817, allocations: 1.01 MB / 461.3 MB, free: 33.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.1829, allocations: 1.629 MB / 463 MB, free: 32.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009621/0.1839, allocations: 1.214 MB / 464.2 MB, free: 32.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.1841, allocations: 284.8 kB / 464.4 MB, free: 32.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.1846, allocations: 423 kB / 464.9 MB, free: 32.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.1851, allocations: 0.8345 MB / 465.7 MB, free: 31.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.1857, allocations: 0.8749 MB / 466.6 MB, free: 31.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.1876, allocations: 3.812 MB / 470.4 MB, free: 30.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1876, allocations: 0 / 470.4 MB, free: 30.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1876, allocations: 0 / 470.4 MB, free: 30.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.1877, allocations: 0 / 470.4 MB, free: 30.15 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.002554/0.1902, allocations: 2.64 MB / 473 MB, free: 28.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1903, allocations: 9.562 kB / 473 MB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.1907, allocations: 294.1 kB / 473.3 MB, free: 28.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1921, allocations: 1.333 MB / 474.6 MB, free: 27.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.1921, allocations: 145.6 kB / 474.8 MB, free: 27.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.1923, allocations: 191.3 kB / 475 MB, free: 27.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.1946, allocations: 2.543 MB / 477.5 MB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.1946, allocations: 14.17 kB / 477.5 MB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.1947, allocations: 71.72 kB / 477.6 MB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.209e-05/0.1948, allocations: 95.34 kB / 477.7 MB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.1967, allocations: 1.987 MB / 479.7 MB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/0.2024, allocations: 6.324 MB / 486 MB, free: 22.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.2035, allocations: 1.057 MB / 487.1 MB, free: 21.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.2045, allocations: 0.8216 MB / 487.9 MB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.2046, allocations: 45.3 kB / 487.9 MB, free: 21.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007368/0.2054, allocations: 0.7852 MB / 488.7 MB, free: 21.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 2.615e-06/0.2054, allocations: 0 / 488.7 MB, free: 21.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.009499/0.2149, allocations: 6.83 MB / 495.5 MB, free: 18.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.2149, allocations: 175.9 kB / 495.7 MB, free: 18.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.2161, allocations: 1.279 MB / 497 MB, free: 17.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.2162, allocations: 47.05 kB / 497 MB, free: 17.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.2167, allocations: 0.9796 MB / 498 MB, free: 17.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.2168, allocations: 436 kB / 498.4 MB, free: 16.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.2171, allocations: 244.4 kB / 498.7 MB, free: 16.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.2172, allocations: 358.1 kB / 499 MB, free: 16.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.2178, allocations: 0.6378 MB / 499.7 MB, free: 16.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/0.2187, allocations: 1.103 MB / 0.489 GB, free: 15.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.2202, allocations: 1.707 MB / 0.4907 GB, free: 14.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.2202, allocations: 3.25 kB / 0.4907 GB, free: 14.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002634/0.2229, allocations: 2.262 MB / 0.4929 GB, free: 13.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.2229, allocations: 15.66 kB / 0.4929 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.2229, allocations: 12.72 kB / 0.4929 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.2237, allocations: 491.9 kB / 0.4934 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.2244, allocations: 295.3 kB / 0.4937 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/0.2284, allocations: 6.757 MB / 0.5003 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.229, allocations: 91.83 kB / 0.5004 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.201e-05/0.229, allocations: 56.56 kB / 0.5004 GB, free: 8.039 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.0006896/0.2297, allocations: 0.6377 MB / 0.5011 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.2299, allocations: 155.9 kB / 0.5012 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.2322, allocations: 2.06 MB / 0.5032 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.2322, allocations: 11 kB / 0.5032 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2322, allocations: 9.5 kB / 0.5032 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2322, allocations: 6.375 kB / 0.5032 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/0.236, allocations: 3.881 MB / 0.507 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.236, allocations: 4 kB / 0.507 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.2364, allocations: 191.7 kB / 0.5072 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007051/0.2371, allocations: 0.5312 MB / 0.5077 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.2372, allocations: 35.98 kB / 0.5078 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.2419, allocations: 8.178 MB / 0.5158 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2419, allocations: 4 kB / 0.5158 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.2449, allocations: 3.001 MB / 0.5187 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.2453, allocations: 278.9 kB / 0.519 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2454, allocations: 35.98 kB / 0.519 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.2458, allocations: 63.94 kB / 0.5191 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.2459, allocations: 112.7 kB / 0.5192 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.246, allocations: 32 kB / 0.5192 GB, free: 6.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.247, allocations: 0.8742 MB / 0.52 GB, free: 5.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.247, allocations: 0 / 0.52 GB, free: 5.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001074/0.2481, allocations: 447.9 kB / 0.5205 GB, free: 4.984 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.001075/0.2492, allocations: 0.5083 MB / 0.521 GB, free: 4.641 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.2513, allocations: 2.042 MB / 0.523 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2513, allocations: 0 / 0.523 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.2525, allocations: 1.396 MB / 0.5243 GB, free: 1.102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009268/0.2534, allocations: 363.1 kB / 0.5247 GB, free: 0.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.2577, allocations: 4.166 MB / 0.5287 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.2586, allocations: 1.118 MB / 0.5298 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.2588, allocations: 116.5 kB / 0.5299 GB, free: 11.25 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2588, allocations: 0 / 0.5299 GB, free: 11.25 MB / 442.7 MB Notification: Performance of Templates: time 0.04683/0.3056, allocations: 73.81 MB / 0.602 GB, free: 1.426 MB / 0.4948 GB " [Timeout remaining time 660] 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 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.450069761835039]