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.001474/0.001474, allocations: 88.28 kB / 21.43 MB, free: 3.109 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.001498/0.001498, allocations: 156 kB / 24.7 MB, free: 9.441 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.9563/0.9563, allocations: 177 MB / 204.9 MB, free: 5.707 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.2658/0.2658, allocations: 34.86 MB / 296.2 MB, free: 500 kB / 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=45999,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=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 443.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.022e-05, allocations: 6.281 kB / 443.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1844/0.1845, allocations: 12.6 MB / 456.3 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005864/0.1903, allocations: 5.104 MB / 461.4 MB, free: 32.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009926/0.1913, allocations: 104.8 kB / 461.5 MB, free: 32.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.193, allocations: 1.049 MB / 462.6 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.1949, allocations: 1.509 MB / 464.1 MB, free: 31.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1961, allocations: 1.012 MB / 465.1 MB, free: 30.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002714/0.1988, allocations: 4.569 MB / 469.6 MB, free: 28.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.2003, allocations: 1.791 MB / 471.4 MB, free: 27.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.2028, allocations: 3.012 MB / 474.4 MB, free: 25.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.2044, allocations: 1.964 MB / 476.4 MB, free: 24.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.2048, allocations: 0.5317 MB / 476.9 MB, free: 24.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.2059, allocations: 0.8975 MB / 477.8 MB, free: 24.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006247/0.2065, allocations: 1.413 MB / 479.3 MB, free: 23.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.2076, allocations: 1.568 MB / 480.8 MB, free: 23.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004712/0.2123, allocations: 7.46 MB / 488.3 MB, free: 20.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2123, allocations: 0 / 488.3 MB, free: 20.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2123, allocations: 3.938 kB / 488.3 MB, free: 20.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.313e-05/0.2124, allocations: 1.125 kB / 488.3 MB, free: 20.48 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.007828/0.2203, allocations: 5.02 MB / 493.3 MB, free: 17.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.2203, allocations: 8.688 kB / 493.3 MB, free: 17.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.2234, allocations: 0.9083 MB / 494.2 MB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/0.2274, allocations: 2.77 MB / 497 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.2275, allocations: 249.5 kB / 497.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004102/0.2279, allocations: 344.2 kB / 497.6 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006058/0.234, allocations: 4.701 MB / 0.4905 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/0.2341, allocations: 5.938 kB / 0.4905 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.2343, allocations: 140.4 kB / 0.4906 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.2344, allocations: 155.2 kB / 0.4908 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005821/0.2403, allocations: 3.914 MB / 0.4946 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.2543, allocations: 12.12 MB / 0.5064 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/0.2579, allocations: 2.97 MB / 0.5093 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.2595, allocations: 1.579 MB / 0.5109 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005077/0.2645, allocations: 3.606 MB / 0.5144 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2646, allocations: 57.69 kB / 0.5145 GB, free: 12.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=165): time 3.367e-06/0.2646, allocations: 0 / 0.5145 GB, free: 12.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=185): time 0.01057/0.2752, allocations: 7.411 MB / 0.5217 GB, free: 4.988 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2752, allocations: 77.41 kB / 0.5218 GB, free: 4.902 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.2776, allocations: 2.465 MB / 0.5242 GB, free: 2.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.902e-05/0.2777, allocations: 57.7 kB / 0.5242 GB, free: 2.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.2785, allocations: 1.688 MB / 0.5259 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.2788, allocations: 0.6468 MB / 0.5265 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006214/0.2794, allocations: 331.5 kB / 0.5268 GB, free: 15.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.2795, allocations: 305.1 kB / 0.5271 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009967/0.2805, allocations: 0.9135 MB / 0.528 GB, free: 14.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.2817, allocations: 1.331 MB / 0.5293 GB, free: 12.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.2839, allocations: 2.352 MB / 0.5316 GB, free: 10.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.284, allocations: 0 / 0.5316 GB, free: 10.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.003623/0.2876, allocations: 3.055 MB / 0.5346 GB, free: 7.375 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2876, allocations: 12.56 kB / 0.5346 GB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.2876, allocations: 15.98 kB / 0.5346 GB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008791/0.2885, allocations: 0.5473 MB / 0.5352 GB, free: 6.801 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.2894, allocations: 435.3 kB / 0.5356 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006113/0.2955, allocations: 7.223 MB / 0.5426 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/0.2964, allocations: 87.88 kB / 0.5427 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.2965, allocations: 75.98 kB / 0.5428 GB, free: 14.79 MB / 458.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.001477/0.298, allocations: 1.169 MB / 0.5439 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.2983, allocations: 254.4 kB / 0.5442 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.3015, allocations: 2.853 MB / 0.547 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.3015, allocations: 20 kB / 0.547 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3016, allocations: 8 kB / 0.547 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.3016, allocations: 15.89 kB / 0.547 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006324/0.3079, allocations: 5.501 MB / 0.5524 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3079, allocations: 0 / 0.5524 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/0.3086, allocations: 275.6 kB / 0.5526 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000903/0.3095, allocations: 0.6123 MB / 0.5532 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.3096, allocations: 51.97 kB / 0.5533 GB, free: 3.926 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007359/0.3169, allocations: 10.78 MB / 0.5638 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3169, allocations: 0 / 0.5638 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00439/0.3213, allocations: 4.129 MB / 0.5678 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000766/0.3221, allocations: 478.1 kB / 0.5683 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.3222, allocations: 40 kB / 0.5683 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/0.3228, allocations: 83.92 kB / 0.5684 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.323, allocations: 145.7 kB / 0.5686 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/0.3231, allocations: 51.98 kB / 0.5686 GB, free: 3.781 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001904/0.325, allocations: 1.718 MB / 0.5703 GB, free: 2.047 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.325, allocations: 0 / 0.5703 GB, free: 2.047 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001687/0.3267, allocations: 0.6913 MB / 0.571 GB, free: 1.355 MB / 474.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.001088/0.3278, allocations: 474.6 kB / 0.5714 GB, free: 1.027 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003139/0.3309, allocations: 2.729 MB / 0.5741 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.331, allocations: 4 kB / 0.5741 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.3327, allocations: 1.833 MB / 0.5759 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.3342, allocations: 0.4923 MB / 0.5764 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008014/0.3422, allocations: 7.007 MB / 0.5832 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.3437, allocations: 2.023 MB / 0.5852 GB, free: 2.789 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.3442, allocations: 184.4 kB / 0.5853 GB, free: 2.609 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3442, allocations: 0 / 0.5853 GB, free: 2.609 MB / 490.7 MB Notification: Performance of Templates: time 0.2589/0.603, allocations: 101.8 MB / 0.6848 GB, free: 139.8 MB / 0.5261 GB " [Timeout remaining time 659] 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: 8.896960223093629]