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.001065/0.001065, allocations: 92.27 kB / 21.44 MB, free: 3.109 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.001085/0.001085, allocations: 153.8 kB / 24.69 MB, free: 9.445 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.9955/0.9955, allocations: 177 MB / 204.9 MB, free: 5.691 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.2656/0.2656, allocations: 34.86 MB / 296.2 MB, free: 484 kB / 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=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 1.553e-06/1.553e-06, allocations: 0 / 443.6 MB, free: 1.113 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.259e-05, allocations: 6.281 kB / 443.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.207/0.2071, allocations: 12.43 MB / 456.1 MB, free: 36.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005606/0.2127, allocations: 4.955 MB / 461 MB, free: 32.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007885/0.2135, allocations: 103.2 kB / 461.1 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.2151, allocations: 1.103 MB / 462.2 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.2169, allocations: 1.473 MB / 463.7 MB, free: 31.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.218, allocations: 0.9935 MB / 464.7 MB, free: 30.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.2201, allocations: 4.313 MB / 469 MB, free: 28.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.2215, allocations: 1.743 MB / 470.8 MB, free: 27.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.2236, allocations: 2.872 MB / 473.6 MB, free: 26.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.2249, allocations: 1.864 MB / 475.5 MB, free: 25.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003936/0.2253, allocations: 0.5073 MB / 476 MB, free: 25.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.2262, allocations: 0.7634 MB / 476.8 MB, free: 25.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.2267, allocations: 1.169 MB / 477.9 MB, free: 24.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008906/0.2276, allocations: 1.455 MB / 479.4 MB, free: 23.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.2314, allocations: 6.911 MB / 486.3 MB, free: 21.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2314, allocations: 2.906 kB / 486.3 MB, free: 21.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2314, allocations: 0 / 486.3 MB, free: 21.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.942e-05/0.2315, allocations: 0 / 486.3 MB, free: 21.38 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.006613/0.2381, allocations: 4.508 MB / 490.8 MB, free: 18.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2381, allocations: 14.06 kB / 490.8 MB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.2408, allocations: 0.8295 MB / 491.7 MB, free: 18.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.2441, allocations: 2.421 MB / 494.1 MB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.2442, allocations: 244.2 kB / 494.3 MB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/0.2446, allocations: 318.5 kB / 494.6 MB, free: 17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006002/0.2506, allocations: 4.454 MB / 499.1 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/0.2507, allocations: 8.688 kB / 499.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.2509, allocations: 127.5 kB / 499.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.2511, allocations: 153.8 kB / 499.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/0.2558, allocations: 3.63 MB / 0.4912 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.2714, allocations: 11.39 MB / 0.5023 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/0.275, allocations: 2.704 MB / 0.505 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.2767, allocations: 1.523 MB / 0.5065 GB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003809/0.2805, allocations: 3.447 MB / 0.5098 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007741/0.2813, allocations: 1.023 MB / 0.5108 GB, free: 32 kB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 2.305e-06/0.2813, allocations: 0 / 0.5108 GB, free: 32 kB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.00774/0.289, allocations: 6.142 MB / 0.5168 GB, free: 9.844 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.2891, allocations: 230.8 kB / 0.5171 GB, free: 9.566 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.2907, allocations: 1.726 MB / 0.5187 GB, free: 7.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/0.2907, allocations: 53.7 kB / 0.5188 GB, free: 7.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008605/0.2916, allocations: 1.544 MB / 0.5203 GB, free: 6.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.2918, allocations: 0.4958 MB / 0.5208 GB, free: 5.715 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.2922, allocations: 311.5 kB / 0.5211 GB, free: 5.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2922, allocations: 301.1 kB / 0.5214 GB, free: 5.109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.2929, allocations: 0.6793 MB / 0.522 GB, free: 4.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2939, allocations: 1.402 MB / 0.5234 GB, free: 2.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.2957, allocations: 1.963 MB / 0.5253 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2957, allocations: 4 kB / 0.5253 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002534/0.2982, allocations: 2.433 MB / 0.5277 GB, free: 14.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2982, allocations: 12 kB / 0.5277 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2982, allocations: 16 kB / 0.5277 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005094/0.2988, allocations: 334 kB / 0.528 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/0.2995, allocations: 371.4 kB / 0.5284 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.3037, allocations: 6.346 MB / 0.5346 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.3044, allocations: 100 kB / 0.5347 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.3044, allocations: 72.86 kB / 0.5348 GB, free: 6.59 MB / 442.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.001096/0.3055, allocations: 1.04 MB / 0.5358 GB, free: 5.539 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.3057, allocations: 190.8 kB / 0.536 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.3081, allocations: 2.172 MB / 0.5381 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3081, allocations: 12 kB / 0.5381 GB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3081, allocations: 8 kB / 0.5381 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3081, allocations: 3.984 kB / 0.5381 GB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004951/0.3131, allocations: 4.357 MB / 0.5424 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3131, allocations: 192 / 0.5424 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.3135, allocations: 183.8 kB / 0.5425 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007278/0.3142, allocations: 0.5032 MB / 0.543 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.3143, allocations: 39.98 kB / 0.5431 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007182/0.3215, allocations: 10.79 MB / 0.5536 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3215, allocations: 0 / 0.5536 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/0.325, allocations: 3.07 MB / 0.5566 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.3255, allocations: 355 kB / 0.5569 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.3257, allocations: 36 kB / 0.557 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.3261, allocations: 63.94 kB / 0.557 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.3263, allocations: 109.1 kB / 0.5571 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/0.3263, allocations: 43.92 kB / 0.5572 GB, free: 14.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.3276, allocations: 1.166 MB / 0.5583 GB, free: 13.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3276, allocations: 0 / 0.5583 GB, free: 13.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001401/0.329, allocations: 0.5898 MB / 0.5589 GB, free: 13.21 MB / 474.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.001116/0.3301, allocations: 0.4955 MB / 0.5594 GB, free: 12.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.3324, allocations: 2.09 MB / 0.5614 GB, free: 10.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3324, allocations: 0 / 0.5614 GB, free: 10.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3338, allocations: 1.547 MB / 0.5629 GB, free: 9.125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.3349, allocations: 463.9 kB / 0.5634 GB, free: 8.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.3416, allocations: 5.706 MB / 0.5689 GB, free: 2.926 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.3429, allocations: 1.752 MB / 0.5707 GB, free: 1.141 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.3432, allocations: 148.5 kB / 0.5708 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3432, allocations: 11.88 kB / 0.5708 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of Templates: time 0.242/0.5852, allocations: 115.3 MB / 0.6834 GB, free: 141.3 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: 8.875096417963505]