Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.0008486/0.0008486, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001921, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006806/0.0006806, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009041/0.001585, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.004/1.004, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08913/1.093, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.2719/0.2719, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02499/0.2969, allocations: 13.23 MB / 292.6 MB, free: 6.457 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 294 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.372e-05, allocations: 3.516 kB / 294 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01047/0.0105, allocations: 9.61 MB / 303.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005623/0.01612, allocations: 3.83 MB / 307.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008423/0.01696, allocations: 63.62 kB / 307.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.01818, allocations: 0.683 MB / 308.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.01986, allocations: 0.9353 MB / 309.1 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009356/0.0208, allocations: 482.9 kB / 309.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.02334, allocations: 2.781 MB / 312.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.02447, allocations: 1.101 MB / 313.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.02701, allocations: 2.195 MB / 315.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.02868, allocations: 1.34 MB / 317 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.02925, allocations: 299.9 kB / 317.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008966/0.03015, allocations: 0.5501 MB / 317.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.03076, allocations: 0.8767 MB / 318.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009642/0.03172, allocations: 0.803 MB / 319.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.03424, allocations: 2.32 MB / 321.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.606e-05/0.03425, allocations: 0 / 321.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.03425, allocations: 0 / 321.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.277e-05/0.03431, allocations: 0 / 321.8 MB, free: 9.016 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00345/0.03776, allocations: 3.507 MB / 325.3 MB, free: 5.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.0378, allocations: 12.03 kB / 325.4 MB, free: 5.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.03853, allocations: 497.7 kB / 325.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.03993, allocations: 1.209 MB / 327.1 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.04001, allocations: 148.4 kB / 327.2 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.04021, allocations: 208.3 kB / 327.4 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.04195, allocations: 1.562 MB / 329 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.04199, allocations: 11.95 kB / 329 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.0421, allocations: 83.98 kB / 329.1 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/0.04218, allocations: 95.92 kB / 329.1 MB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008468/0.04303, allocations: 0.6022 MB / 329.8 MB, free: 0.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005405/0.04843, allocations: 4.894 MB / 334.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.04937, allocations: 0.723 MB / 335.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.04995, allocations: 484.2 kB / 335.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.05007, allocations: 52.98 kB / 335.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.0501, allocations: 43.56 kB / 335.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 2.826e-06/0.05011, allocations: 0 / 335.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.004546/0.05465, allocations: 2.79 MB / 338.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.05468, allocations: 68.72 kB / 338.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.05572, allocations: 1.416 MB / 340.2 MB, free: 6.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.05578, allocations: 49.7 kB / 340.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.05613, allocations: 0.8547 MB / 341.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.05638, allocations: 475.8 kB / 341.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.05662, allocations: 231.5 kB / 341.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.05671, allocations: 365.8 kB / 342.2 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.05694, allocations: 166.8 kB / 342.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.05726, allocations: 421.9 kB / 342.7 MB, free: 3.504 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.0579, allocations: 0.7109 MB / 343.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.0579, allocations: 0 / 343.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001384/0.05928, allocations: 1.058 MB / 344.5 MB, free: 1.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.0593, allocations: 8 kB / 344.5 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.05932, allocations: 8 kB / 344.5 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.06039, allocations: 0.5274 MB / 345 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.06102, allocations: 279.6 kB / 345.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.06487, allocations: 4.635 MB / 350 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.0654, allocations: 43.98 kB / 350 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.06547, allocations: 40.06 kB / 350 MB, free: 11.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004597/0.06593, allocations: 188.3 kB / 350.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.06616, allocations: 155.8 kB / 350.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.06745, allocations: 1.008 MB / 351.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.06746, allocations: 16 kB / 351.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.06747, allocations: 8 kB / 351.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.06748, allocations: 3.984 kB / 351.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.07058, allocations: 2.259 MB / 353.7 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.07059, allocations: 4 kB / 353.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/0.07113, allocations: 223.9 kB / 353.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.07145, allocations: 238.6 kB / 354.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008515/0.0723, allocations: 476.9 kB / 354.6 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.07236, allocations: 27.98 kB / 354.6 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.07568, allocations: 5.42 MB / 360 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.07569, allocations: 0 / 360 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.07724, allocations: 1.343 MB / 361.4 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.07737, allocations: 35.92 kB / 361.4 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.07771, allocations: 47.97 kB / 361.5 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.07788, allocations: 108.7 kB / 361.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.07793, allocations: 28.05 kB / 361.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005198/0.07845, allocations: 0.6752 MB / 362.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07845, allocations: 0 / 362.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001139/0.07959, allocations: 0.5077 MB / 362.8 MB, free: 14.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * 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 {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/0.08088, allocations: 0.5734 MB / 363.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.08223, allocations: 1.163 MB / 364.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-05/0.08226, allocations: 31.56 kB / 364.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.08311, allocations: 0.9115 MB / 365.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/0.08404, allocations: 0.5151 MB / 366 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.0981, allocations: 4.178 MB / 370.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.09861, allocations: 0.5863 MB / 370.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007092/0.09932, allocations: 205.4 kB / 370.9 MB, free: 6.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/0.09993, allocations: 389 kB / 371.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.09993, allocations: 0 / 371.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of Templates: time 0.05878/0.1587, allocations: 29.54 MB / 400.9 MB, free: 9.07 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.611265191808343]