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.0009762/0.0009762, allocations: 118.6 kB / 21.19 MB, free: 4.34 MB / 13.93 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.0009353/0.0009353, allocations: 213.3 kB / 24.48 MB, free: 1.359 MB / 13.93 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.9922/0.9922, allocations: 230.6 MB / 258.2 MB, free: 3.086 MB / 202.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.1636/0.1636, allocations: 47.72 MB / 362.4 MB, free: 15.41 MB / 298.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 0.001832/0.001832, allocations: 103.8 kB / 0.4978 GB, free: 3.234 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3026, allocations: 66.22 MB / 0.5624 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.01636/0.319, allocations: 21.05 MB / 0.583 GB, free: 8.375 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3309, allocations: 6.949 MB / 0.5898 GB, free: 1.406 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.3343, allocations: 214.6 kB / 0.59 GB, free: 1.195 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.3373, allocations: 1.669 MB / 0.5916 GB, free: 15.52 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.3419, allocations: 2.466 MB / 0.594 GB, free: 13.04 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.3441, allocations: 1.45 MB / 0.5954 GB, free: 11.58 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007653/0.3518, allocations: 8.976 MB / 0.6042 GB, free: 2.574 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003767/0.3555, allocations: 3.856 MB / 0.608 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005078/0.3606, allocations: 4.218 MB / 0.6121 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005291/0.3659, allocations: 4.717 MB / 0.6167 GB, free: 5.656 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001763/0.3677, allocations: 1.094 MB / 0.6178 GB, free: 4.562 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.37, allocations: 1.378 MB / 0.6191 GB, free: 3.184 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.3716, allocations: 2.735 MB / 0.6218 GB, free: 452 kB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00465/0.3763, allocations: 3.743 MB / 0.6254 GB, free: 12.68 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.3878, allocations: 14.61 MB / 0.6397 GB, free: 14.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3878, allocations: 0 / 0.6397 GB, free: 14.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3878, allocations: 0 / 0.6397 GB, free: 14.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002262/0.3881, allocations: 0 / 0.6397 GB, free: 14.03 MB / 490.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.01331/0.4014, allocations: 9.077 MB / 0.6486 GB, free: 4.867 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4014, allocations: 8.031 kB / 0.6486 GB, free: 4.859 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.4046, allocations: 1.358 MB / 0.6499 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006726/0.4114, allocations: 5.043 MB / 0.6548 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.4116, allocations: 0.4941 MB / 0.6553 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006701/0.4123, allocations: 0.6716 MB / 0.6559 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.4247, allocations: 9.975 MB / 0.6657 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.4248, allocations: 11.95 kB / 0.6657 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004478/0.4252, allocations: 276 kB / 0.666 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.4254, allocations: 297.4 kB / 0.6662 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.4354, allocations: 8.188 MB / 0.6742 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/0.4639, allocations: 25.46 MB / 0.6991 GB, free: 128 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4826/0.9465, allocations: 5.669 MB / 0.7046 GB, free: 113.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/0.9499, allocations: 3.147 MB / 0.7077 GB, free: 112.4 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007333/0.9572, allocations: 5.835 MB / 0.7134 GB, free: 109.9 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.9573, allocations: 67.53 kB / 0.7135 GB, free: 109.9 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=305): time 4.839e-06/0.9573, allocations: 2.469 kB / 0.7135 GB, free: 109.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=324): time 0.01556/0.9728, allocations: 14.49 MB / 0.7276 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.9729, allocations: 85.95 kB / 0.7277 GB, free: 100 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.9759, allocations: 3.723 MB / 0.7314 GB, free: 96.38 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.976, allocations: 81.7 kB / 0.7314 GB, free: 96.29 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009279/0.977, allocations: 3.204 MB / 0.7346 GB, free: 93.51 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.9774, allocations: 1.145 MB / 0.7357 GB, free: 92.44 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000609/0.978, allocations: 0.6848 MB / 0.7364 GB, free: 91.75 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.011e-05/0.978, allocations: 301.1 kB / 0.7366 GB, free: 91.45 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.9798, allocations: 1.916 MB / 0.7385 GB, free: 89.53 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.9819, allocations: 2.91 MB / 0.7414 GB, free: 86.22 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.9857, allocations: 4.977 MB / 0.7462 GB, free: 80.82 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.9857, allocations: 8 kB / 0.7462 GB, free: 80.82 MB / 0.5262 GB Notification: Performance of matching and sorting (n=486) (initialization): time 0.005463/0.9912, allocations: 6.34 MB / 0.7524 GB, free: 74.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.9912, allocations: 24.19 kB / 0.7524 GB, free: 74.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.9912, allocations: 30.81 kB / 0.7525 GB, free: 74.35 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.9927, allocations: 1.279 MB / 0.7537 GB, free: 73.03 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.9942, allocations: 0.822 MB / 0.7545 GB, free: 72.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008869/1.003, allocations: 21.22 MB / 0.7752 GB, free: 49.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/1.005, allocations: 212 kB / 0.7754 GB, free: 49.67 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/1.005, allocations: 155.9 kB / 0.7756 GB, free: 49.52 MB / 0.5262 GB 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.003121/1.008, allocations: 2.192 MB / 0.7777 GB, free: 47.32 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/1.009, allocations: 429.3 kB / 0.7781 GB, free: 46.89 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/1.016, allocations: 5.749 MB / 0.7838 GB, free: 41.05 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.016, allocations: 32 kB / 0.7838 GB, free: 41.02 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/1.016, allocations: 19.94 kB / 0.7838 GB, free: 41 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.016, allocations: 19.88 kB / 0.7838 GB, free: 40.98 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02487/1.041, allocations: 10.67 MB / 0.7942 GB, free: 30.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.041, allocations: 7.938 kB / 0.7942 GB, free: 30.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.042, allocations: 463.3 kB / 0.7947 GB, free: 29.75 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008435/1.05, allocations: 1.646 MB / 0.7963 GB, free: 28.05 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/1.05, allocations: 71.97 kB / 0.7964 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03321/1.084, allocations: 30.88 MB / 0.8265 GB, free: 11.49 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.084, allocations: 11.94 kB / 0.8265 GB, free: 11.48 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009332/1.093, allocations: 8.403 MB / 0.8347 GB, free: 2.902 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.095, allocations: 0.848 MB / 0.8356 GB, free: 2.055 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/1.095, allocations: 67.98 kB / 0.8356 GB, free: 1.988 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.096, allocations: 195.8 kB / 0.8358 GB, free: 1.797 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/1.096, allocations: 293.7 kB / 0.8361 GB, free: 1.508 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.097, allocations: 87.97 kB / 0.8362 GB, free: 1.422 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.002642/1.099, allocations: 2.486 MB / 0.8386 GB, free: 14.96 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.6e-07/1.099, allocations: 0 / 0.8386 GB, free: 14.96 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.00335/1.103, allocations: 1.352 MB / 0.8399 GB, free: 13.61 MB / 0.5574 GB 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.0004468/1.103, allocations: 278.6 kB / 0.8402 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.00556/1.109, allocations: 6.02 MB / 0.8461 GB, free: 7.141 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.109, allocations: 0 / 0.8461 GB, free: 7.141 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.004185/1.113, allocations: 4.583 MB / 0.8505 GB, free: 2.344 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/1.115, allocations: 1.135 MB / 0.8517 GB, free: 1.227 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.131, allocations: 13.46 MB / 0.8648 GB, free: 3.688 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/1.134, allocations: 3.931 MB / 0.8686 GB, free: 15.7 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007486/1.135, allocations: 291.4 kB / 0.8689 GB, free: 15.42 MB / 0.5887 GB Notification: Performance of SimCode: time 7.91e-07/1.135, allocations: 0 / 0.8689 GB, free: 15.42 MB / 0.5887 GB Notification: Performance of Templates: time 1.047/2.182, allocations: 0.6301 GB / 1.499 GB, free: 201.6 MB / 0.6668 GB " [Timeout remaining time 658] 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: 16.648854590021074]