Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.001041/0.001041, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001139/0.001139, allocations: 161.6 kB / 25.61 MB, free: 8.582 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.966/0.966, allocations: 177 MB / 205.9 MB, free: 4.414 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.1496/0.1496, allocations: 34.87 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.251e-05, allocations: 4.672 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.01376/0.01378, allocations: 23.24 MB / 403.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.02712, allocations: 7.132 MB / 410.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004848/0.03197, allocations: 210.6 kB / 410.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.03678, allocations: 1.684 MB / 412.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008165/0.04494, allocations: 2.55 MB / 414.9 MB, free: 3.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.04842, allocations: 1.465 MB / 416.4 MB, free: 2.215 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009826/0.05825, allocations: 9.331 MB / 425.7 MB, free: 8.848 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006647/0.0649, allocations: 3.891 MB / 429.6 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009921/0.07482, allocations: 6.437 MB / 436 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007139/0.08196, allocations: 4.478 MB / 440.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003137/0.08509, allocations: 1.082 MB / 441.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00446/0.08955, allocations: 1.355 MB / 442.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003507/0.09306, allocations: 2.785 MB / 445.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006573/0.09963, allocations: 3.212 MB / 448.9 MB, free: 1.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.1102, allocations: 7.598 MB / 456.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.1102, allocations: 0 / 456.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1102, allocations: 0 / 456.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000413/0.1106, allocations: 0 / 456.5 MB, free: 9.852 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01495/0.1256, allocations: 9.101 MB / 465.6 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1256, allocations: 8.031 kB / 465.7 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/0.1298, allocations: 1.994 MB / 467.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0071/0.1369, allocations: 4.593 MB / 472.2 MB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/0.1372, allocations: 0.4941 MB / 472.7 MB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/0.1385, allocations: 0.6721 MB / 473.4 MB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009856/0.1484, allocations: 5.293 MB / 478.7 MB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001863/0.1486, allocations: 7.953 kB / 478.7 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007492/0.1493, allocations: 280 kB / 479 MB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/0.1495, allocations: 305.4 kB / 479.3 MB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/0.1547, allocations: 2.045 MB / 481.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2075/0.3623, allocations: 23.31 MB / 0.4928 GB, free: 74.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/0.3664, allocations: 3.865 MB / 0.4966 GB, free: 74.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.3683, allocations: 1.498 MB / 0.498 GB, free: 74.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007219/0.3755, allocations: 4.037 MB / 0.502 GB, free: 73.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.3756, allocations: 73.48 kB / 0.5021 GB, free: 73.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=305): time 4.689e-06/0.3756, allocations: 0 / 0.5021 GB, free: 73.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.01325/0.3888, allocations: 6.768 MB / 0.5087 GB, free: 72.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3889, allocations: 85.52 kB / 0.5087 GB, free: 72.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.3923, allocations: 3.076 MB / 0.5117 GB, free: 72.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004179/0.3927, allocations: 82.61 kB / 0.5118 GB, free: 72.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.3943, allocations: 3.379 MB / 0.5151 GB, free: 70.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009736/0.3952, allocations: 1.182 MB / 0.5163 GB, free: 69.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008084/0.396, allocations: 0.7233 MB / 0.517 GB, free: 69.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.3961, allocations: 478.3 kB / 0.5174 GB, free: 69.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.3968, allocations: 449.2 kB / 0.5179 GB, free: 69.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.398, allocations: 1.872 MB / 0.5197 GB, free: 67.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.4001, allocations: 2.608 MB / 0.5222 GB, free: 66.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/0.4001, allocations: 6.344 kB / 0.5223 GB, free: 66.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.004559/0.4047, allocations: 3.229 MB / 0.5254 GB, free: 64.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.4047, allocations: 16 kB / 0.5254 GB, free: 64.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/0.4048, allocations: 29.95 kB / 0.5254 GB, free: 64.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.4065, allocations: 0.8029 MB / 0.5262 GB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.408, allocations: 0.759 MB / 0.527 GB, free: 63.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00722/0.4153, allocations: 21.81 MB / 0.5483 GB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.4175, allocations: 126.8 kB / 0.5484 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.4177, allocations: 119.7 kB / 0.5485 GB, free: 42.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (423): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001986/0.4197, allocations: 417.5 kB / 0.5489 GB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000908/0.4206, allocations: 0.5358 MB / 0.5494 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.4241, allocations: 2.831 MB / 0.5522 GB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.4241, allocations: 32 kB / 0.5522 GB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/0.4241, allocations: 19.98 kB / 0.5522 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.4241, allocations: 11.95 kB / 0.5523 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009173/0.4333, allocations: 6.37 MB / 0.5585 GB, free: 32.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.4333, allocations: 4 kB / 0.5585 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.4343, allocations: 421.3 kB / 0.5589 GB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.4364, allocations: 1.052 MB / 0.5599 GB, free: 31.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.4365, allocations: 79.97 kB / 0.56 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.4481, allocations: 32.34 MB / 0.5916 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4481, allocations: 4 kB / 0.5916 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00592/0.454, allocations: 3.681 MB / 0.5952 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/0.4561, allocations: 0.7186 MB / 0.5959 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/0.4565, allocations: 64 kB / 0.5959 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009931/0.4575, allocations: 131.9 kB / 0.5961 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005629/0.4581, allocations: 269 kB / 0.5963 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.4582, allocations: 67.92 kB / 0.5964 GB, free: 8.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001689/0.4599, allocations: 1.568 MB / 0.5979 GB, free: 6.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4599, allocations: 0 / 0.5979 GB, free: 6.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003899/0.4638, allocations: 1.351 MB / 0.5992 GB, free: 5.488 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 16 * 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): 16 systems {(2,14,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,8,100.0%), (1,1,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005447/0.4643, allocations: 288.9 kB / 0.5995 GB, free: 5.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004724/0.4691, allocations: 4.103 MB / 0.6035 GB, free: 1.055 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.4691, allocations: 5.875 kB / 0.6035 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.4725, allocations: 4.2 MB / 0.6076 GB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/0.4761, allocations: 1.15 MB / 0.6087 GB, free: 11.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.4932, allocations: 11.25 MB / 0.6197 GB, free: 240 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.4952, allocations: 1.816 MB / 0.6215 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001961/0.4971, allocations: 0.5237 MB / 0.622 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/0.499, allocations: 1.15 MB / 0.6231 GB, free: 12.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.144e-06/0.499, allocations: 4 kB / 0.6231 GB, free: 12.7 MB / 458.7 MB Notification: Performance of Templates: time 0.263/0.762, allocations: 72.69 MB / 0.6941 GB, free: 134.5 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.744299250654876]