Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.0009901/0.0009901, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001141/0.001141, allocations: 154.8 kB / 24.81 MB, free: 9.262 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.9038/0.9038, allocations: 177 MB / 205.1 MB, free: 5.484 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.2388/0.2388, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 379.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.061e-05, allocations: 8.984 kB / 379.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02912/0.02915, allocations: 32.71 MB / 412.1 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.04601, allocations: 9.888 MB / 422 MB, free: 6.926 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/0.05004, allocations: 298.4 kB / 422.3 MB, free: 6.633 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008409/0.05844, allocations: 8.441 MB / 430.7 MB, free: 14.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006785/0.06523, allocations: 3.977 MB / 434.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.06836, allocations: 2.296 MB / 437 MB, free: 7.852 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1588/0.2272, allocations: 13.94 MB / 450.9 MB, free: 49.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01702/0.2442, allocations: 14.99 MB / 465.9 MB, free: 47.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.2542, allocations: 10.08 MB / 476 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/0.2613, allocations: 7.17 MB / 483.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003457/0.2647, allocations: 1.89 MB / 485 MB, free: 40.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.2687, allocations: 2.32 MB / 487.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002167/0.2709, allocations: 3.929 MB / 491.3 MB, free: 37.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005675/0.2765, allocations: 4.892 MB / 496.2 MB, free: 35.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009355/0.2859, allocations: 12.03 MB / 0.4963 GB, free: 29.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2859, allocations: 0.9844 kB / 0.4963 GB, free: 29.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2859, allocations: 3.938 kB / 0.4963 GB, free: 29.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002096/0.2861, allocations: 0 / 0.4963 GB, free: 29.82 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: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.02138/0.3075, allocations: 14.83 MB / 0.5108 GB, free: 22.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.3076, allocations: 10.31 kB / 0.5108 GB, free: 22.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.3253, allocations: 6.75 MB / 0.5174 GB, free: 17.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00899/0.3343, allocations: 7.452 MB / 0.5247 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.3346, allocations: 0.8087 MB / 0.5255 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.3358, allocations: 1.077 MB / 0.5265 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.3463, allocations: 8.682 MB / 0.535 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.3465, allocations: 18.47 kB / 0.535 GB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007004/0.3472, allocations: 449.1 kB / 0.5354 GB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003338/0.3475, allocations: 0.6436 MB / 0.5361 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006208/0.3537, allocations: 4.155 MB / 0.5401 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04381/0.3975, allocations: 43.27 MB / 0.5824 GB, free: 3.727 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008174/0.4057, allocations: 9.114 MB / 0.5913 GB, free: 12.56 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.4077, allocations: 1.772 MB / 0.593 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00988/0.4176, allocations: 7.223 MB / 0.6001 GB, free: 3.859 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.4194, allocations: 1.922 MB / 0.6019 GB, free: 1.918 MB / 474.7 MB Notification: Performance of pre-optimization done (n=434): time 6.121e-06/0.4194, allocations: 0 / 0.6019 GB, free: 1.918 MB / 474.7 MB Notification: Performance of matching and sorting (n=452): time 0.02032/0.4397, allocations: 12.04 MB / 0.6137 GB, free: 6.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.4398, allocations: 411.4 kB / 0.6141 GB, free: 5.531 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.4432, allocations: 3.702 MB / 0.6177 GB, free: 2.359 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.4434, allocations: 97.7 kB / 0.6178 GB, free: 2.258 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2209/0.6643, allocations: 5.121 MB / 0.6228 GB, free: 105.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001397/0.6657, allocations: 1.656 MB / 0.6244 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.6671, allocations: 1.267 MB / 0.6257 GB, free: 104.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.6671, allocations: 479.7 kB / 0.6261 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009758/0.6681, allocations: 0.7204 MB / 0.6268 GB, free: 104.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.6699, allocations: 4.263 MB / 0.631 GB, free: 100 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/0.6732, allocations: 5.182 MB / 0.636 GB, free: 96.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/0.6732, allocations: 20.16 kB / 0.6361 GB, free: 96.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.006615/0.6798, allocations: 5.239 MB / 0.6412 GB, free: 95.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.6799, allocations: 35.62 kB / 0.6412 GB, free: 95.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.384e-05/0.6799, allocations: 64.47 kB / 0.6413 GB, free: 95.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/0.6822, allocations: 1.326 MB / 0.6426 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.6844, allocations: 1.244 MB / 0.6438 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/0.692, allocations: 14 MB / 0.6575 GB, free: 86.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.6941, allocations: 252.6 kB / 0.6577 GB, free: 86.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/0.6944, allocations: 242.9 kB / 0.6579 GB, free: 86.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002048/0.6964, allocations: 0.5508 MB / 0.6585 GB, free: 86.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006602/0.6971, allocations: 0.6272 MB / 0.6591 GB, free: 85.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/0.7019, allocations: 4.145 MB / 0.6631 GB, free: 85.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.7019, allocations: 44.97 kB / 0.6632 GB, free: 85.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/0.7019, allocations: 18.47 kB / 0.6632 GB, free: 85.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/0.7019, allocations: 28.92 kB / 0.6632 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/0.7215, allocations: 11.77 MB / 0.6747 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.7215, allocations: 4.125 kB / 0.6747 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.7231, allocations: 0.6703 MB / 0.6754 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/0.7261, allocations: 1.404 MB / 0.6767 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/0.7264, allocations: 117.8 kB / 0.6768 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009434/0.7358, allocations: 18.29 MB / 0.6947 GB, free: 70.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.7358, allocations: 10.09 kB / 0.6947 GB, free: 70.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007345/0.7432, allocations: 5.084 MB / 0.6997 GB, free: 69.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.7447, allocations: 0.9262 MB / 0.7006 GB, free: 69.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004301/0.7452, allocations: 104.9 kB / 0.7007 GB, free: 69.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.7462, allocations: 137.2 kB / 0.7008 GB, free: 69.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000552/0.7468, allocations: 361.3 kB / 0.7012 GB, free: 69.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.747, allocations: 111.5 kB / 0.7013 GB, free: 69.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001909/0.7489, allocations: 1.731 MB / 0.703 GB, free: 69.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7489, allocations: 0 / 0.703 GB, free: 69.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004802/0.7537, allocations: 1.881 MB / 0.7048 GB, free: 69.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (397): * Single equations (assignments): 388 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,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.001201/0.7549, allocations: 0.5484 MB / 0.7053 GB, free: 68.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005503/0.7604, allocations: 4.686 MB / 0.7099 GB, free: 67.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.7604, allocations: 7.516 kB / 0.7099 GB, free: 67.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003054/0.7635, allocations: 3.372 MB / 0.7132 GB, free: 65.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.7668, allocations: 1.187 MB / 0.7144 GB, free: 65.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/0.7873, allocations: 16.48 MB / 0.7305 GB, free: 52.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/0.7896, allocations: 2.882 MB / 0.7333 GB, free: 50.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002494/0.7921, allocations: 0.7727 MB / 0.734 GB, free: 49.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/0.794, allocations: 1.236 MB / 0.7352 GB, free: 48.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.803e-06/0.794, allocations: 0 / 0.7352 GB, free: 48.5 MB / 490.7 MB Notification: Performance of Templates: time 0.2593/1.053, allocations: 81.09 MB / 0.8144 GB, free: 118.5 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.761315395124257]