Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.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.0009129/0.0009129, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001101/0.001101, allocations: 163.2 kB / 24.99 MB, free: 8.801 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.9248/0.9248, allocations: 177 MB / 205.2 MB, free: 5.586 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.2387/0.2387, allocations: 34.86 MB / 296.6 MB, free: 0.5703 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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 378.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.582e-05, allocations: 2.312 kB / 378.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01153/0.01154, allocations: 14.21 MB / 393.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007483/0.01902, allocations: 5.288 MB / 398.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.02023, allocations: 107.4 kB / 398.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.02205, allocations: 1.052 MB / 399.5 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.02444, allocations: 1.514 MB / 401 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.02638, allocations: 1.009 MB / 402.1 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004136/0.03052, allocations: 4.581 MB / 406.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.03288, allocations: 1.802 MB / 408.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.03644, allocations: 3.037 MB / 411.5 MB, free: 1.492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.03834, allocations: 2.132 MB / 413.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004261/0.03876, allocations: 0.5352 MB / 414.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.03987, allocations: 0.8976 MB / 415 MB, free: 13.92 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.04088, allocations: 1.437 MB / 416.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.04207, allocations: 1.59 MB / 418.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.04562, allocations: 3.96 MB / 422 MB, free: 6.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.04563, allocations: 0 / 422 MB, free: 6.914 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04563, allocations: 0 / 422 MB, free: 6.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.629e-05/0.04566, allocations: 0 / 422 MB, free: 6.914 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.006514/0.05218, allocations: 5.295 MB / 427.3 MB, free: 1.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.05222, allocations: 16.03 kB / 427.3 MB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.05505, allocations: 1.333 MB / 428.7 MB, free: 200 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.0581, allocations: 2.619 MB / 431.3 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.05823, allocations: 251.1 kB / 431.5 MB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/0.05858, allocations: 344.2 kB / 431.9 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003609/0.06219, allocations: 2.73 MB / 434.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/0.06225, allocations: 3.938 kB / 434.6 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.06246, allocations: 132 kB / 434.7 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.06258, allocations: 154.7 kB / 434.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.06507, allocations: 1.3 MB / 436.2 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.145/0.21, allocations: 11.23 MB / 447.4 MB, free: 93.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.2131, allocations: 2.219 MB / 449.6 MB, free: 93.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.2143, allocations: 0.9421 MB / 450.6 MB, free: 93.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003527/0.2179, allocations: 2.721 MB / 453.3 MB, free: 93.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2179, allocations: 57.08 kB / 453.4 MB, free: 93.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 2.906e-06/0.2179, allocations: 0 / 453.4 MB, free: 93.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.007718/0.2256, allocations: 4.943 MB / 458.3 MB, free: 91.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.2256, allocations: 75.5 kB / 458.4 MB, free: 91.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.2273, allocations: 1.987 MB / 460.4 MB, free: 91.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/0.2274, allocations: 59.08 kB / 460.4 MB, free: 91.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006574/0.2281, allocations: 1.792 MB / 462.2 MB, free: 89.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.2284, allocations: 0.6717 MB / 462.9 MB, free: 89.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.2287, allocations: 354.6 kB / 463.2 MB, free: 89.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.2288, allocations: 479.9 kB / 463.7 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.2293, allocations: 325.4 kB / 464 MB, free: 88.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.23, allocations: 0.9017 MB / 464.9 MB, free: 88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.2314, allocations: 1.353 MB / 466.3 MB, free: 87.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.2314, allocations: 3.062 kB / 466.3 MB, free: 87.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002736/0.2342, allocations: 1.855 MB / 468.1 MB, free: 86.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.2342, allocations: 9.469 kB / 468.1 MB, free: 86.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.2342, allocations: 13.03 kB / 468.2 MB, free: 86.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.2353, allocations: 0.497 MB / 468.6 MB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/0.2362, allocations: 424.1 kB / 469.1 MB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/0.2405, allocations: 6.362 MB / 475.4 MB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008119/0.2413, allocations: 76.97 kB / 475.5 MB, free: 81.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.2414, allocations: 74.8 kB / 475.6 MB, free: 81.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * 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%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000715/0.2422, allocations: 275.5 kB / 475.8 MB, free: 80.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.2425, allocations: 313.8 kB / 476.1 MB, free: 80.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.2448, allocations: 1.694 MB / 477.8 MB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.2449, allocations: 22.44 kB / 477.9 MB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.2449, allocations: 12.5 kB / 477.9 MB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.2449, allocations: 12.36 kB / 477.9 MB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006255/0.2511, allocations: 4.378 MB / 482.3 MB, free: 78.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2511, allocations: 1.125 kB / 482.3 MB, free: 78.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.2519, allocations: 272.5 kB / 482.5 MB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.2531, allocations: 0.5396 MB / 483.1 MB, free: 78.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.2532, allocations: 52.55 kB / 483.1 MB, free: 77.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005755/0.2589, allocations: 10.63 MB / 493.8 MB, free: 68.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.2589, allocations: 1.438 kB / 493.8 MB, free: 68.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/0.2626, allocations: 2.246 MB / 496 MB, free: 67.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007293/0.2633, allocations: 449.2 kB / 496.4 MB, free: 67.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.2635, allocations: 39 kB / 496.5 MB, free: 67.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.2641, allocations: 79.48 kB / 496.6 MB, free: 67.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.2644, allocations: 153.2 kB / 496.7 MB, free: 67.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.465e-05/0.2645, allocations: 50.08 kB / 496.8 MB, free: 67.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001451/0.2659, allocations: 1.161 MB / 497.9 MB, free: 67.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2659, allocations: 0 / 497.9 MB, free: 67.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001866/0.2678, allocations: 0.7028 MB / 498.6 MB, free: 66.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009217/0.2687, allocations: 423.7 kB / 499 MB, free: 66.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.2711, allocations: 1.87 MB / 0.4892 GB, free: 66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2711, allocations: 3.875 kB / 0.4892 GB, free: 66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.2725, allocations: 1.64 MB / 0.4908 GB, free: 64.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.2738, allocations: 0.5264 MB / 0.4913 GB, free: 64.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/0.2814, allocations: 6.043 MB / 0.4972 GB, free: 61.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/0.2823, allocations: 0.9474 MB / 0.4981 GB, free: 61.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009845/0.2832, allocations: 411.3 kB / 0.4985 GB, free: 60.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.2836, allocations: 164.2 kB / 0.4987 GB, free: 60.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2836, allocations: 0 / 0.4987 GB, free: 60.64 MB / 410.7 MB Notification: Performance of Templates: time 0.04089/0.3245, allocations: 35.67 MB / 0.5335 GB, free: 28.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.082501790951937]