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.0009996/0.0009996, 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.001095/0.001095, allocations: 163 kB / 24.99 MB, free: 9.316 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.9263/0.9263, allocations: 177 MB / 205.2 MB, free: 5.16 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.243/0.243, allocations: 34.86 MB / 296.6 MB, free: 0.5625 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.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.411e-05, allocations: 2.312 kB / 378.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01222/0.01224, allocations: 14.22 MB / 392.3 MB, free: 4.801 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008073/0.02031, allocations: 5.28 MB / 397.6 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.02187, allocations: 103.4 kB / 397.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.024, allocations: 1.06 MB / 398.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.02686, allocations: 1.51 MB / 400.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.02849, allocations: 1.02 MB / 401.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003885/0.03238, allocations: 4.57 MB / 405.8 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.0342, allocations: 1.803 MB / 407.6 MB, free: 5.336 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.03756, allocations: 3.041 MB / 410.7 MB, free: 2.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.03976, allocations: 2.128 MB / 412.8 MB, free: 160 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005173/0.04027, allocations: 0.5352 MB / 413.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.04148, allocations: 0.9053 MB / 414.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008813/0.04236, allocations: 1.433 MB / 415.7 MB, free: 13.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.04393, allocations: 1.59 MB / 417.3 MB, free: 11.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.04756, allocations: 3.952 MB / 421.2 MB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.04757, allocations: 3.938 kB / 421.2 MB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.04757, allocations: 0 / 421.2 MB, free: 7.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.178e-05/0.04762, allocations: 0 / 421.2 MB, free: 7.715 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.006945/0.05456, allocations: 5.303 MB / 426.5 MB, free: 2.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.0546, allocations: 15.97 kB / 426.5 MB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.05766, allocations: 1.329 MB / 427.9 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.06079, allocations: 2.627 MB / 430.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.06099, allocations: 251.1 kB / 430.8 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/0.06138, allocations: 340.3 kB / 431.1 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00404/0.06542, allocations: 2.725 MB / 433.8 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/0.06547, allocations: 7.938 kB / 433.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.06569, allocations: 140 kB / 434 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.0658, allocations: 154.7 kB / 434.1 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.06827, allocations: 1.296 MB / 435.4 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1447/0.213, allocations: 11.24 MB / 446.6 MB, free: 93.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/0.2162, allocations: 2.217 MB / 448.9 MB, free: 93.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.2174, allocations: 0.935 MB / 449.8 MB, free: 93.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003878/0.2213, allocations: 2.733 MB / 452.5 MB, free: 93.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2214, allocations: 53.64 kB / 452.6 MB, free: 93.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.216e-06/0.2214, allocations: 2.875 kB / 452.6 MB, free: 93.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.007818/0.2292, allocations: 4.937 MB / 457.5 MB, free: 92.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.2292, allocations: 74.91 kB / 457.6 MB, free: 92.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.231, allocations: 1.99 MB / 459.6 MB, free: 91.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.159e-05/0.2311, allocations: 56.27 kB / 459.6 MB, free: 91.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007501/0.2318, allocations: 1.804 MB / 461.4 MB, free: 90.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.2322, allocations: 0.6635 MB / 462.1 MB, free: 90.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003893/0.2326, allocations: 350.5 kB / 462.4 MB, free: 90.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.2326, allocations: 483.9 kB / 462.9 MB, free: 89.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.2332, allocations: 319.9 kB / 463.2 MB, free: 89.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007777/0.234, allocations: 0.9005 MB / 464.1 MB, free: 88.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.2354, allocations: 1.36 MB / 465.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.2355, allocations: 3.125 kB / 465.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002546/0.238, allocations: 1.858 MB / 467.3 MB, free: 87.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.238, allocations: 9.625 kB / 467.4 MB, free: 87.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.238, allocations: 9.938 kB / 467.4 MB, free: 87.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.2391, allocations: 492.5 kB / 467.8 MB, free: 87.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/0.24, allocations: 424.3 kB / 468.3 MB, free: 87.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/0.2443, allocations: 6.379 MB / 474.6 MB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/0.245, allocations: 87.23 kB / 474.7 MB, free: 81.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.2451, allocations: 76.44 kB / 474.8 MB, free: 81.98 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.0006561/0.2458, allocations: 261.6 kB / 475.1 MB, free: 81.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.2461, allocations: 317 kB / 475.4 MB, free: 81.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.2483, allocations: 1.691 MB / 477.1 MB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.2483, allocations: 18.41 kB / 477.1 MB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.2484, allocations: 9.25 kB / 477.1 MB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2484, allocations: 9.75 kB / 477.1 MB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/0.2539, allocations: 4.388 MB / 481.5 MB, free: 78.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.254, allocations: 5.188 kB / 481.5 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.2547, allocations: 270.6 kB / 481.8 MB, free: 78.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.2559, allocations: 0.5305 MB / 482.3 MB, free: 78.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.256, allocations: 53.11 kB / 482.3 MB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005768/0.2617, allocations: 10.63 MB / 493 MB, free: 69.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2617, allocations: 9.578 kB / 493 MB, free: 69.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.2652, allocations: 2.252 MB / 495.2 MB, free: 68.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007946/0.266, allocations: 447.8 kB / 495.7 MB, free: 68.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.2662, allocations: 41.78 kB / 495.7 MB, free: 68.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.2668, allocations: 77.2 kB / 495.8 MB, free: 68.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/0.2671, allocations: 149.9 kB / 495.9 MB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/0.2672, allocations: 58.11 kB / 496 MB, free: 68.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001602/0.2688, allocations: 1.157 MB / 497.1 MB, free: 67.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2688, allocations: 0 / 497.1 MB, free: 67.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00195/0.2707, allocations: 0.6974 MB / 497.8 MB, free: 67.77 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.0009381/0.2717, allocations: 428 kB / 498.3 MB, free: 67.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.274, allocations: 1.876 MB / 0.4884 GB, free: 66.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.274, allocations: 384 / 0.4884 GB, free: 66.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.2753, allocations: 1.648 MB / 0.49 GB, free: 65.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.2767, allocations: 0.5192 MB / 0.4905 GB, free: 65.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007125/0.2838, allocations: 6.035 MB / 0.4964 GB, free: 62.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.2853, allocations: 1.898 MB / 0.4983 GB, free: 60.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.2858, allocations: 187.9 kB / 0.4985 GB, free: 60.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2858, allocations: 0 / 0.4985 GB, free: 60.81 MB / 410.7 MB Notification: Performance of Templates: time 0.06841/0.3542, allocations: 101.6 MB / 0.5977 GB, free: 10.3 MB / 458.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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5731679438613355]