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.0009497/0.0009497, allocations: 77.92 kB / 22.21 MB, free: 2.293 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.001123/0.001123, allocations: 155 kB / 25.61 MB, free: 8.613 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.9928/0.9928, allocations: 177 MB / 205.9 MB, free: 4.438 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.1516/0.1516, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.413e-06/1.413e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.186e-05, allocations: 5.281 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.009785/0.009807, allocations: 13.56 MB / 393.7 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008932/0.01874, allocations: 5.079 MB / 398.7 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.02082, allocations: 107.3 kB / 398.8 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.02295, allocations: 1.114 MB / 400 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002864/0.02581, allocations: 1.475 MB / 401.4 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.0273, allocations: 0.9884 MB / 402.4 MB, free: 256 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.03092, allocations: 4.325 MB / 406.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.03271, allocations: 1.762 MB / 408.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.03601, allocations: 2.998 MB / 411.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.03859, allocations: 2.003 MB / 413.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.03909, allocations: 0.5039 MB / 414 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.04028, allocations: 0.7573 MB / 414.8 MB, free: 3.797 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007139/0.04099, allocations: 1.172 MB / 415.9 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.04256, allocations: 1.454 MB / 417.4 MB, free: 1.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00482/0.04738, allocations: 3.547 MB / 420.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.04739, allocations: 0 / 420.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.04739, allocations: 0 / 420.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.954e-05/0.04749, allocations: 0 / 420.9 MB, free: 13.61 MB / 346.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.006819/0.05431, allocations: 4.639 MB / 425.6 MB, free: 8.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.05436, allocations: 12.03 kB / 425.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/0.05753, allocations: 1.173 MB / 426.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.06047, allocations: 2.26 MB / 429 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.06061, allocations: 242.3 kB / 429.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.06096, allocations: 327.9 kB / 429.6 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.06398, allocations: 2.369 MB / 431.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.06404, allocations: 15.94 kB / 432 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.06424, allocations: 132 kB / 432.1 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.06436, allocations: 150.4 kB / 432.2 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.06582, allocations: 0.9455 MB / 433.2 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.07945, allocations: 10.49 MB / 443.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.082, allocations: 1.887 MB / 445.6 MB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.08326, allocations: 0.9084 MB / 446.5 MB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004581/0.08784, allocations: 2.59 MB / 449.1 MB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.08855, allocations: 0.6733 MB / 449.7 MB, free: 284 kB / 362.7 MB Notification: Performance of pre-optimization done (n=132): time 3.045e-06/0.08855, allocations: 0 / 449.7 MB, free: 284 kB / 362.7 MB Notification: Performance of matching and sorting (n=140): time 0.006256/0.09481, allocations: 3.439 MB / 453.2 MB, free: 12.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.09489, allocations: 226.9 kB / 453.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.0962, allocations: 1.45 MB / 454.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.09627, allocations: 53.7 kB / 454.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.09766, allocations: 1.63 MB / 456.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.09797, allocations: 0.5191 MB / 457 MB, free: 8.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.0983, allocations: 336.9 kB / 457.4 MB, free: 8.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.09842, allocations: 480.8 kB / 457.8 MB, free: 8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.09869, allocations: 195.8 kB / 458 MB, free: 7.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.09977, allocations: 1.129 MB / 459.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.1009, allocations: 1.246 MB / 460.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.1009, allocations: 4 kB / 460.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002028/0.103, allocations: 1.452 MB / 461.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.103, allocations: 15.94 kB / 461.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003185/0.1033, allocations: 16 kB / 461.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.1039, allocations: 274.8 kB / 462.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.1046, allocations: 363.4 kB / 462.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/0.1088, allocations: 6.725 MB / 469.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/0.1097, allocations: 75.97 kB / 469.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/0.1098, allocations: 64 kB / 469.4 MB, free: 11.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (195): * Single equations (assignments): 191 * 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.0008357/0.1106, allocations: 268.1 kB / 469.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.111, allocations: 246.8 kB / 469.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.1127, allocations: 1.269 MB / 471.2 MB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.1127, allocations: 16 kB / 471.2 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.1127, allocations: 8 kB / 471.2 MB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.1127, allocations: 11.97 kB / 471.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.1168, allocations: 2.977 MB / 474.2 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1169, allocations: 0 / 474.2 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.1173, allocations: 167.8 kB / 474.3 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008365/0.1181, allocations: 424.4 kB / 474.7 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/0.1182, allocations: 43.97 kB / 474.8 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006453/0.1246, allocations: 11.48 MB / 486.3 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1246, allocations: 8.031 kB / 486.3 MB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.1269, allocations: 1.658 MB / 487.9 MB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006675/0.1276, allocations: 306.6 kB / 488.2 MB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.1278, allocations: 39.98 kB / 488.3 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.1282, allocations: 43.98 kB / 488.3 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.1284, allocations: 109.1 kB / 488.4 MB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.1285, allocations: 35.98 kB / 488.5 MB, free: 7.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007738/0.1292, allocations: 0.7754 MB / 489.2 MB, free: 6.828 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1292, allocations: 0 / 489.2 MB, free: 6.828 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001824/0.1311, allocations: 0.5859 MB / 489.8 MB, free: 6.242 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.0009698/0.132, allocations: 463.8 kB / 490.3 MB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.1339, allocations: 1.494 MB / 491.8 MB, free: 4.367 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1339, allocations: 4.125 kB / 491.8 MB, free: 4.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.135, allocations: 1.521 MB / 493.3 MB, free: 2.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.1362, allocations: 470.9 kB / 493.8 MB, free: 2.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1513/0.2875, allocations: 5.039 MB / 498.8 MB, free: 94.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.2883, allocations: 0.8073 MB / 499.6 MB, free: 94.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00108/0.2894, allocations: 250.9 kB / 499.8 MB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/0.2901, allocations: 0.5085 MB / 0.4886 GB, free: 94.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.625e-06/0.2901, allocations: 0 / 0.4886 GB, free: 94.02 MB / 410.7 MB Notification: Performance of Templates: time 0.04303/0.3332, allocations: 30.53 MB / 0.5184 GB, free: 75.06 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.104485847055912]