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.0009776/0.0009776, allocations: 75.7 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.001061/0.001061, allocations: 162.7 kB / 24.99 MB, free: 9.328 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.9173/0.9173, allocations: 177 MB / 205.2 MB, free: 5.211 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.2367/0.2367, allocations: 34.86 MB / 296.6 MB, free: 0.5352 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=350,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=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.257e-05, allocations: 4.141 kB / 378.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01203/0.01206, allocations: 14.02 MB / 392.1 MB, free: 5.023 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007425/0.01948, allocations: 5.112 MB / 397.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.02075, allocations: 107.3 kB / 397.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.02268, allocations: 1.118 MB / 398.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.02508, allocations: 1.475 MB / 399.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.02644, allocations: 0.9933 MB / 400.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003321/0.02976, allocations: 4.313 MB / 405.2 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.03143, allocations: 1.754 MB / 406.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.03398, allocations: 2.909 MB / 409.9 MB, free: 3.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.03613, allocations: 2.027 MB / 411.9 MB, free: 1.082 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005156/0.03665, allocations: 0.5078 MB / 412.4 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009484/0.0376, allocations: 0.7573 MB / 413.1 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006877/0.03828, allocations: 1.204 MB / 414.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.03949, allocations: 1.462 MB / 415.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.04277, allocations: 3.563 MB / 419.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.04278, allocations: 0 / 419.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.04278, allocations: 0 / 419.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.335e-05/0.04283, allocations: 0 / 419.4 MB, free: 9.57 MB / 394.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.006251/0.04908, allocations: 4.78 MB / 424.2 MB, free: 4.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.04912, allocations: 12.03 kB / 424.2 MB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.05205, allocations: 1.243 MB / 425.4 MB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.05532, allocations: 2.357 MB / 427.8 MB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.05545, allocations: 246.4 kB / 428 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.05578, allocations: 319.9 kB / 428.3 MB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004119/0.0599, allocations: 2.588 MB / 430.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.188e-05/0.05995, allocations: 3.984 kB / 430.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.06015, allocations: 132 kB / 431 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.06025, allocations: 150.4 kB / 431.2 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.06356, allocations: 1.236 MB / 432.4 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.07664, allocations: 10.57 MB / 443 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1354/0.212, allocations: 2.06 MB / 445.1 MB, free: 97.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.2139, allocations: 0.9869 MB / 446 MB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004249/0.2181, allocations: 2.661 MB / 448.7 MB, free: 96.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007437/0.2189, allocations: 0.7138 MB / 449.4 MB, free: 96.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 2.585e-06/0.2189, allocations: 0.6562 kB / 449.4 MB, free: 96.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.006357/0.2252, allocations: 4.132 MB / 453.5 MB, free: 95.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2253, allocations: 221.6 kB / 453.8 MB, free: 95.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.2268, allocations: 1.487 MB / 455.3 MB, free: 94.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.2268, allocations: 60.36 kB / 455.3 MB, free: 94.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007721/0.2276, allocations: 1.613 MB / 456.9 MB, free: 93.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.2278, allocations: 0.5101 MB / 457.4 MB, free: 93.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.2282, allocations: 328.3 kB / 457.8 MB, free: 93.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.733e-05/0.2282, allocations: 479.5 kB / 458.2 MB, free: 92.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.2287, allocations: 251.2 kB / 458.5 MB, free: 92.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/0.2294, allocations: 1.168 MB / 459.6 MB, free: 91.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.2307, allocations: 1.323 MB / 461 MB, free: 90.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.2307, allocations: 5.938 kB / 461 MB, free: 90.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002046/0.2328, allocations: 1.574 MB / 462.5 MB, free: 89.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.2328, allocations: 15.95 kB / 462.6 MB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.2328, allocations: 16 kB / 462.6 MB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/0.2334, allocations: 282 kB / 462.8 MB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.2341, allocations: 378.7 kB / 463.2 MB, free: 89.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.2372, allocations: 6.884 MB / 470.1 MB, free: 83.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.2378, allocations: 94.41 kB / 470.2 MB, free: 83.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.2379, allocations: 73.66 kB / 470.3 MB, free: 83.29 MB / 410.7 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.0005823/0.2385, allocations: 265.6 kB / 470.5 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.2387, allocations: 234.9 kB / 470.8 MB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.2407, allocations: 1.382 MB / 472.1 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.2407, allocations: 13.28 kB / 472.1 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2407, allocations: 9.781 kB / 472.2 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.2407, allocations: 10.45 kB / 472.2 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004676/0.2454, allocations: 3.656 MB / 475.8 MB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2454, allocations: 3.25 kB / 475.8 MB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.2458, allocations: 183.8 kB / 476 MB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008872/0.2467, allocations: 440.5 kB / 476.4 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.2467, allocations: 40.05 kB / 476.5 MB, free: 80.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00535/0.2521, allocations: 11.73 MB / 488.2 MB, free: 69.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2521, allocations: 0 / 488.2 MB, free: 69.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.2548, allocations: 1.819 MB / 490 MB, free: 69.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/0.2553, allocations: 327 kB / 490.3 MB, free: 68.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.2554, allocations: 42.91 kB / 490.4 MB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.2559, allocations: 59.7 kB / 490.4 MB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.256, allocations: 114.6 kB / 490.6 MB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/0.2561, allocations: 46.34 kB / 490.6 MB, free: 68.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.2572, allocations: 0.8524 MB / 491.5 MB, free: 68.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2572, allocations: 0 / 491.5 MB, free: 68.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001541/0.2587, allocations: 0.5867 MB / 492 MB, free: 68.38 MB / 410.7 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 (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.0009205/0.2596, allocations: 452.1 kB / 492.5 MB, free: 68.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.2617, allocations: 1.588 MB / 494.1 MB, free: 67.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2617, allocations: 1.125 kB / 494.1 MB, free: 67.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.263, allocations: 1.581 MB / 495.6 MB, free: 66.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.2642, allocations: 484.5 kB / 496.1 MB, free: 66.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.2716, allocations: 5.067 MB / 0.4894 GB, free: 63.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.2734, allocations: 1.648 MB / 0.4911 GB, free: 62.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.2738, allocations: 147.3 kB / 0.4912 GB, free: 62.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.412e-06/0.2738, allocations: 0 / 0.4912 GB, free: 62.8 MB / 410.7 MB Notification: Performance of Templates: time 0.0717/0.3455, allocations: 115.2 MB / 0.6037 GB, free: 4.355 MB / 458.7 MB " [Timeout remaining time 660] 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: 5.244411603081971]