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.0009099/0.0009099, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009482/0.0009482, allocations: 166.9 kB / 24.99 MB, free: 8.215 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.9476/0.9476, allocations: 177 MB / 205.2 MB, free: 5.102 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.2624/0.2624, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.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.653e-06/1.653e-06, allocations: 0 / 378 MB, free: 3.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.049e-05, allocations: 2.312 kB / 378 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.0178/0.01782, allocations: 24.09 MB / 402.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.02937, allocations: 7.144 MB / 409.3 MB, free: 3.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.03261, allocations: 210.7 kB / 409.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.03617, allocations: 1.688 MB / 411.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005445/0.04161, allocations: 2.55 MB / 413.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.0443, allocations: 1.468 MB / 415.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009516/0.05381, allocations: 9.344 MB / 424.5 MB, free: 4.398 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006565/0.06038, allocations: 3.883 MB / 428.4 MB, free: 432 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.07176, allocations: 6.203 MB / 434.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008115/0.07988, allocations: 4.541 MB / 439.2 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002273/0.08215, allocations: 1.098 MB / 440.3 MB, free: 4.559 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.08552, allocations: 1.378 MB / 441.6 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002256/0.08778, allocations: 2.848 MB / 444.5 MB, free: 332 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1414/0.2292, allocations: 3.237 MB / 447.7 MB, free: 58.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00791/0.2371, allocations: 7.674 MB / 455.4 MB, free: 58.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.2371, allocations: 0 / 455.4 MB, free: 58.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2371, allocations: 0 / 455.4 MB, free: 58.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003296/0.2375, allocations: 1.656 kB / 455.4 MB, free: 58.34 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.0131/0.2506, allocations: 9.459 MB / 464.9 MB, free: 55.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2506, allocations: 9.438 kB / 464.9 MB, free: 55.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.2548, allocations: 2.08 MB / 467 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006279/0.2611, allocations: 4.84 MB / 471.8 MB, free: 53.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.2613, allocations: 0.5019 MB / 472.3 MB, free: 52.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007352/0.262, allocations: 0.6709 MB / 473 MB, free: 52.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007983/0.27, allocations: 5.739 MB / 478.7 MB, free: 50.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.2701, allocations: 11.3 kB / 478.7 MB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004352/0.2706, allocations: 280.8 kB / 479 MB, free: 49.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002512/0.2708, allocations: 301.7 kB / 479.3 MB, free: 49.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005884/0.2767, allocations: 2.612 MB / 481.9 MB, free: 49.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/0.3043, allocations: 23.69 MB / 0.4937 GB, free: 35.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/0.3089, allocations: 4.106 MB / 0.4978 GB, free: 34.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.3112, allocations: 1.694 MB / 0.4994 GB, free: 33.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006809/0.318, allocations: 4.285 MB / 0.5036 GB, free: 31.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.318, allocations: 70.48 kB / 0.5037 GB, free: 31.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=305): time 5.22e-06/0.318, allocations: 0 / 0.5037 GB, free: 31.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.01379/0.3318, allocations: 8.355 MB / 0.5118 GB, free: 28.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3319, allocations: 85.45 kB / 0.5119 GB, free: 28.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.335, allocations: 3.166 MB / 0.515 GB, free: 25.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.3352, allocations: 81.7 kB / 0.5151 GB, free: 25.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.3364, allocations: 3.339 MB / 0.5183 GB, free: 22.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/0.337, allocations: 1.172 MB / 0.5195 GB, free: 21.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007185/0.3377, allocations: 0.7094 MB / 0.5202 GB, free: 20.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.3377, allocations: 476.8 kB / 0.5206 GB, free: 20.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.3387, allocations: 0.589 MB / 0.5212 GB, free: 19.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.3401, allocations: 1.996 MB / 0.5231 GB, free: 17.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.3426, allocations: 2.858 MB / 0.5259 GB, free: 14.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.3426, allocations: 8 kB / 0.5259 GB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.004691/0.3473, allocations: 3.546 MB / 0.5294 GB, free: 11.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.3474, allocations: 24.03 kB / 0.5294 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.3474, allocations: 28 kB / 0.5295 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.3491, allocations: 0.8231 MB / 0.5303 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.3507, allocations: 0.8169 MB / 0.5311 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.3609, allocations: 22.3 MB / 0.5528 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.3632, allocations: 204 kB / 0.553 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/0.3635, allocations: 152 kB / 0.5532 GB, free: 2.207 MB / 426.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.001864/0.3653, allocations: 388.1 kB / 0.5535 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008097/0.3662, allocations: 0.5402 MB / 0.5541 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/0.3709, allocations: 3.106 MB / 0.5571 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.3709, allocations: 32 kB / 0.5571 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.342e-05/0.3709, allocations: 23.66 kB / 0.5572 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/0.371, allocations: 15.94 kB / 0.5572 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.3837, allocations: 7.926 MB / 0.5649 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.3837, allocations: 7.938 kB / 0.5649 GB, free: 6.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.3849, allocations: 466.5 kB / 0.5654 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/0.3873, allocations: 1.11 MB / 0.5664 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.3875, allocations: 75.95 kB / 0.5665 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01682/0.4043, allocations: 33.15 MB / 0.5989 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4043, allocations: 11.81 kB / 0.5989 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006617/0.4109, allocations: 4.091 MB / 0.6029 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/0.4127, allocations: 0.7915 MB / 0.6037 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/0.4132, allocations: 64 kB / 0.6037 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.4143, allocations: 191.8 kB / 0.6039 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005396/0.4148, allocations: 297.4 kB / 0.6042 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.415, allocations: 91.97 kB / 0.6043 GB, free: 11.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002382/0.4173, allocations: 1.72 MB / 0.606 GB, free: 10.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4173, allocations: 0 / 0.606 GB, free: 10.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003716/0.4211, allocations: 1.355 MB / 0.6073 GB, free: 8.789 MB / 490.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%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005415/0.4216, allocations: 292.4 kB / 0.6076 GB, free: 8.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004888/0.4265, allocations: 4.391 MB / 0.6119 GB, free: 4.012 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4265, allocations: 0 / 0.6119 GB, free: 4.012 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1229/0.5494, allocations: 4.401 MB / 0.6162 GB, free: 161.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/0.5531, allocations: 1.157 MB / 0.6173 GB, free: 161.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.566, allocations: 11.32 MB / 0.6283 GB, free: 156.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.5685, allocations: 3.654 MB / 0.6319 GB, free: 156.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/0.5693, allocations: 293.6 kB / 0.6322 GB, free: 156.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5693, allocations: 4 kB / 0.6322 GB, free: 156.2 MB / 490.7 MB Notification: Performance of Templates: time 0.7606/1.33, allocations: 0.6295 GB / 1.262 GB, free: 53.46 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.648752401117235]