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.001281/0.001281, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001445/0.001445, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9465/0.9465, allocations: 177 MB / 204.8 MB, free: 5.59 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.2927/0.2927, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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 2.094e-06/2.094e-06, allocations: 3.938 kB / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.283e-05, allocations: 2.312 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01217/0.01219, allocations: 14.08 MB / 392.9 MB, free: 3.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007976/0.02017, allocations: 5.14 MB / 398.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.02227, allocations: 103.4 kB / 398.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.02472, allocations: 1.122 MB / 399.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.02829, allocations: 1.475 MB / 400.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.03016, allocations: 0.9817 MB / 401.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004369/0.03453, allocations: 4.324 MB / 406.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.03688, allocations: 1.766 MB / 407.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.04083, allocations: 2.998 MB / 410.8 MB, free: 1.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.04363, allocations: 1.999 MB / 412.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.0448, allocations: 0.5039 MB / 413.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.04642, allocations: 0.7572 MB / 414.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007603/0.04718, allocations: 1.18 MB / 415.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002289/0.04947, allocations: 1.458 MB / 416.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004888/0.05436, allocations: 3.54 MB / 420.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.05436, allocations: 4 kB / 420.3 MB, free: 8.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.05436, allocations: 0 / 420.3 MB, free: 8.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001609/0.05453, allocations: 0 / 420.3 MB, free: 8.316 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.007952/0.06248, allocations: 4.749 MB / 425 MB, free: 3.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.06252, allocations: 8.031 kB / 425 MB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.06537, allocations: 1.251 MB / 426.3 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.06851, allocations: 2.377 MB / 428.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.06864, allocations: 238.4 kB / 428.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.06896, allocations: 327.9 kB / 429.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.0728, allocations: 2.58 MB / 431.8 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.18e-05/0.07286, allocations: 4 kB / 431.8 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.07305, allocations: 132 kB / 431.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.07317, allocations: 150.4 kB / 432.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.07574, allocations: 1.232 MB / 433.3 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.08807, allocations: 10.54 MB / 443.9 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1824/0.2704, allocations: 2.06 MB / 445.9 MB, free: 77.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.2722, allocations: 0.9949 MB / 446.9 MB, free: 77.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004392/0.2765, allocations: 2.63 MB / 449.6 MB, free: 77.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/0.2773, allocations: 0.7022 MB / 450.3 MB, free: 76.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 3.947e-06/0.2773, allocations: 1.859 kB / 450.3 MB, free: 76.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.007856/0.2852, allocations: 4.137 MB / 454.4 MB, free: 76.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.2853, allocations: 223.9 kB / 454.6 MB, free: 75.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.2871, allocations: 1.498 MB / 456.1 MB, free: 75.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.2872, allocations: 49.48 kB / 456.2 MB, free: 75.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009852/0.2881, allocations: 1.619 MB / 457.8 MB, free: 74.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.2885, allocations: 0.5088 MB / 458.3 MB, free: 74.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/0.2889, allocations: 334.7 kB / 458.6 MB, free: 74.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.2889, allocations: 476.8 kB / 459.1 MB, free: 74.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.2894, allocations: 254 kB / 459.3 MB, free: 74.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008/0.2902, allocations: 1.183 MB / 460.5 MB, free: 72.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.2916, allocations: 1.341 MB / 461.8 MB, free: 72.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.2916, allocations: 6.469 kB / 461.9 MB, free: 72.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002452/0.2941, allocations: 1.593 MB / 463.4 MB, free: 71.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.2941, allocations: 13.41 kB / 463.5 MB, free: 71.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.2941, allocations: 16.19 kB / 463.5 MB, free: 71.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007266/0.2949, allocations: 287.3 kB / 463.8 MB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.2958, allocations: 376.1 kB / 464.1 MB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003497/0.2993, allocations: 6.869 MB / 471 MB, free: 65.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/0.3002, allocations: 86.19 kB / 471.1 MB, free: 65.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.3003, allocations: 78.34 kB / 471.2 MB, free: 65.92 MB / 410.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.0007182/0.3011, allocations: 270.7 kB / 471.4 MB, free: 65.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.3013, allocations: 237.7 kB / 471.7 MB, free: 65.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.3035, allocations: 1.38 MB / 473 MB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3035, allocations: 15.41 kB / 473 MB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.3035, allocations: 9.688 kB / 473.1 MB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.3036, allocations: 6.609 kB / 473.1 MB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/0.3079, allocations: 3.636 MB / 476.7 MB, free: 63.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.3079, allocations: 0 / 476.7 MB, free: 63.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.3083, allocations: 175.2 kB / 476.9 MB, free: 63.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008591/0.3091, allocations: 450.8 kB / 477.3 MB, free: 63.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.3092, allocations: 42.62 kB / 477.4 MB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004818/0.314, allocations: 11.74 MB / 489.1 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.314, allocations: 0 / 489.1 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.3166, allocations: 1.817 MB / 490.9 MB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/0.3172, allocations: 328.7 kB / 491.2 MB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.3173, allocations: 30.5 kB / 491.3 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.3178, allocations: 65.14 kB / 491.3 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.318, allocations: 108.5 kB / 491.4 MB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.318, allocations: 42 kB / 491.5 MB, free: 51.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.3191, allocations: 0.85 MB / 492.3 MB, free: 51.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3191, allocations: 0 / 492.3 MB, free: 51.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001793/0.3209, allocations: 0.588 MB / 492.9 MB, free: 51.2 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.0009667/0.3218, allocations: 453.9 kB / 493.3 MB, free: 51.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.3238, allocations: 1.594 MB / 494.9 MB, free: 50.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3238, allocations: 0 / 494.9 MB, free: 50.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.325, allocations: 1.572 MB / 496.5 MB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3263, allocations: 472.9 kB / 497 MB, free: 48.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/0.3338, allocations: 5.079 MB / 0.4903 GB, free: 46.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.3345, allocations: 0.8166 MB / 0.4911 GB, free: 46.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008298/0.3353, allocations: 332.1 kB / 0.4914 GB, free: 45.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.3356, allocations: 135.8 kB / 0.4915 GB, free: 45.92 MB / 410.7 MB Notification: Performance of SimCode: time 2.244e-06/0.3356, allocations: 0 / 0.4915 GB, free: 45.92 MB / 410.7 MB Notification: Performance of Templates: time 0.03594/0.3715, allocations: 29.43 MB / 0.5203 GB, free: 30.41 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: 3.863830605056137]