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.0008726/0.0008726, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.0008725/0.0008725, allocations: 163.8 kB / 24.99 MB, free: 9.281 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.042/1.042, allocations: 177 MB / 205.2 MB, free: 5.605 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.2663/0.2663, allocations: 34.87 MB / 296.6 MB, free: 0.5625 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=350,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=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 378 MB, free: 3.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.655e-05, allocations: 6.875 kB / 378 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007923/0.00795, allocations: 9.547 MB / 387.6 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003924/0.01187, allocations: 3.56 MB / 391.2 MB, free: 5.949 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.01229, allocations: 63.56 kB / 391.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.01371, allocations: 0.7222 MB / 391.9 MB, free: 5.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.01513, allocations: 0.9278 MB / 392.9 MB, free: 4.227 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.01564, allocations: 458.8 kB / 393.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.01717, allocations: 2.513 MB / 395.8 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008812/0.01806, allocations: 1.021 MB / 396.8 MB, free: 192 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.01923, allocations: 1.653 MB / 398.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.02031, allocations: 1.294 MB / 399.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.02053, allocations: 280 kB / 400.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.02096, allocations: 431.6 kB / 400.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005232/0.02149, allocations: 0.8413 MB / 401.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006223/0.02211, allocations: 0.8847 MB / 402.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.02372, allocations: 2.126 MB / 404.3 MB, free: 8.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.02373, allocations: 4 kB / 404.3 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02373, allocations: 0 / 404.3 MB, free: 8.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.02374, allocations: 0 / 404.3 MB, free: 8.672 MB / 378.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.002902/0.02664, allocations: 2.832 MB / 407.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.02668, allocations: 11.97 kB / 407.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006199/0.0273, allocations: 439.3 kB / 407.6 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.02875, allocations: 1.306 MB / 408.9 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/0.02883, allocations: 143.7 kB / 409.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.02901, allocations: 191.9 kB / 409.3 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.03087, allocations: 1.535 MB / 410.8 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.0309, allocations: 11.89 kB / 410.8 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.03102, allocations: 83.97 kB / 410.9 MB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-05/0.03109, allocations: 95.67 kB / 411 MB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.03233, allocations: 0.7008 MB / 411.7 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005769/0.0381, allocations: 6.102 MB / 417.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.03887, allocations: 0.5975 MB / 418.4 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.03957, allocations: 489.4 kB / 418.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.03973, allocations: 52.84 kB / 418.9 MB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005782/0.04031, allocations: 0.5253 MB / 419.4 MB, free: 9.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.325e-06/0.04031, allocations: 0 / 419.4 MB, free: 9.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.005892/0.0462, allocations: 3.892 MB / 423.3 MB, free: 5.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.04627, allocations: 175.2 kB / 423.5 MB, free: 5.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.04728, allocations: 1.142 MB / 424.6 MB, free: 3.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.04733, allocations: 45.7 kB / 424.7 MB, free: 3.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005337/0.04787, allocations: 1.035 MB / 425.7 MB, free: 2.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.04811, allocations: 440.3 kB / 426.1 MB, free: 2.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.04837, allocations: 249.2 kB / 426.4 MB, free: 2.074 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.04852, allocations: 0.5394 MB / 426.9 MB, free: 1.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.04889, allocations: 223.8 kB / 427.1 MB, free: 1.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.0495, allocations: 0.8111 MB / 428 MB, free: 280 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/0.05049, allocations: 0.9953 MB / 429 MB, free: 15.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.05049, allocations: 3.938 kB / 429 MB, free: 15.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001696/0.05219, allocations: 1.319 MB / 430.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.05221, allocations: 16.17 kB / 430.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.05222, allocations: 12 kB / 430.3 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.05284, allocations: 290.1 kB / 430.6 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.05345, allocations: 291.6 kB / 430.9 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.057, allocations: 6.682 MB / 437.6 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.05745, allocations: 103.9 kB / 437.7 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.05752, allocations: 48 kB / 437.7 MB, free: 5.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.0003078/0.05783, allocations: 248.1 kB / 437.9 MB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.05802, allocations: 195 kB / 438.1 MB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.06012, allocations: 1.162 MB / 439.3 MB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.06013, allocations: 12 kB / 439.3 MB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.06013, allocations: 4 kB / 439.3 MB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.06015, allocations: 3.984 kB / 439.3 MB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/0.06544, allocations: 2.994 MB / 442.3 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.06544, allocations: 4 kB / 442.3 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/0.0661, allocations: 200.1 kB / 442.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.06724, allocations: 357.9 kB / 442.9 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/0.06733, allocations: 31.98 kB / 442.9 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1501/0.2174, allocations: 8.446 MB / 451.3 MB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2174, allocations: 5.562 kB / 451.3 MB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.2195, allocations: 1.684 MB / 453 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.2199, allocations: 264.4 kB / 453.3 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.22, allocations: 40.56 kB / 453.3 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.2204, allocations: 64.3 kB / 453.4 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2205, allocations: 103.8 kB / 453.5 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.2206, allocations: 40.05 kB / 453.5 MB, free: 90.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005815/0.2211, allocations: 0.6774 MB / 454.2 MB, free: 90.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2211, allocations: 0 / 454.2 MB, free: 90.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001007/0.2221, allocations: 455.7 kB / 454.6 MB, free: 90.15 MB / 410.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.0008948/0.223, allocations: 485.1 kB / 455.1 MB, free: 90.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.2245, allocations: 1.507 MB / 456.6 MB, free: 89.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2245, allocations: 0 / 456.6 MB, free: 89.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009102/0.2254, allocations: 1.315 MB / 457.9 MB, free: 88.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.2263, allocations: 374 kB / 458.3 MB, free: 88.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.2302, allocations: 3.678 MB / 462 MB, free: 86.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.2309, allocations: 1.042 MB / 463 MB, free: 86.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.2312, allocations: 111.9 kB / 463.1 MB, free: 86.38 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2312, allocations: 0 / 463.1 MB, free: 86.38 MB / 410.7 MB Notification: Performance of Templates: time 0.04167/0.2728, allocations: 73.69 MB / 0.5242 GB, free: 36.33 MB / 410.7 MB " [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: 5.083676372887567]