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.001018/0.001018, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.0009456/0.0009456, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.9549/0.9549, allocations: 177 MB / 204.8 MB, free: 5.59 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.248/0.248, allocations: 34.87 MB / 296.3 MB, free: 496 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=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.794e-06/1.794e-06, allocations: 0 / 378.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.444e-05, allocations: 2.312 kB / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01616/0.01618, allocations: 14.28 MB / 393.2 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009682/0.02586, allocations: 5.3 MB / 398.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.02774, allocations: 107.4 kB / 398.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002754/0.03049, allocations: 1.056 MB / 399.6 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.03387, allocations: 1.514 MB / 401.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.03585, allocations: 1.017 MB / 402.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004915/0.04077, allocations: 4.577 MB / 406.8 MB, free: 5.965 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.04317, allocations: 1.806 MB / 408.6 MB, free: 4.086 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003909/0.04708, allocations: 3.224 MB / 411.8 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.04989, allocations: 2.093 MB / 413.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008277/0.05072, allocations: 0.5273 MB / 414.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.05211, allocations: 0.8937 MB / 415.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009862/0.05309, allocations: 1.414 MB / 416.7 MB, free: 11.92 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.05488, allocations: 1.559 MB / 418.3 MB, free: 10.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.05942, allocations: 3.929 MB / 422.2 MB, free: 6.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.05943, allocations: 8 kB / 422.2 MB, free: 6.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.05943, allocations: 0 / 422.2 MB, free: 6.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001167/0.05955, allocations: 0 / 422.2 MB, free: 6.406 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.006567/0.06611, allocations: 5.275 MB / 427.5 MB, free: 1.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.06616, allocations: 12.03 kB / 427.5 MB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.06901, allocations: 1.329 MB / 428.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.07179, allocations: 2.646 MB / 431.5 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.07192, allocations: 247.1 kB / 431.7 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.07224, allocations: 348.2 kB / 432 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.0758, allocations: 2.726 MB / 434.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/0.07585, allocations: 0 / 434.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/0.07621, allocations: 136 kB / 434.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.07632, allocations: 154.7 kB / 435.1 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.07881, allocations: 1.292 MB / 436.4 MB, free: 8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.17/0.2488, allocations: 11.19 MB / 447.5 MB, free: 73.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.2518, allocations: 2.233 MB / 449.8 MB, free: 73.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.253, allocations: 0.9336 MB / 450.7 MB, free: 73.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003728/0.2567, allocations: 2.694 MB / 453.4 MB, free: 72.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2568, allocations: 51.52 kB / 453.5 MB, free: 72.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.807e-06/0.2568, allocations: 0.6562 kB / 453.5 MB, free: 72.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.007809/0.2646, allocations: 4.941 MB / 458.4 MB, free: 71.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.2646, allocations: 76.12 kB / 458.5 MB, free: 71.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.2664, allocations: 1.939 MB / 460.4 MB, free: 71.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/0.2665, allocations: 54.83 kB / 460.5 MB, free: 71.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.2673, allocations: 1.803 MB / 462.3 MB, free: 70.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.2676, allocations: 0.665 MB / 462.9 MB, free: 70.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.2679, allocations: 361.2 kB / 463.3 MB, free: 70.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.065e-05/0.268, allocations: 476.8 kB / 463.7 MB, free: 70.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.2685, allocations: 325.7 kB / 464.1 MB, free: 70.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.2692, allocations: 0.898 MB / 465 MB, free: 69.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.2705, allocations: 1.353 MB / 466.3 MB, free: 68.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.2706, allocations: 3.25 kB / 466.3 MB, free: 68.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002457/0.273, allocations: 1.849 MB / 468.2 MB, free: 68.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.273, allocations: 9 kB / 468.2 MB, free: 68.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.2731, allocations: 9.594 kB / 468.2 MB, free: 68.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.2741, allocations: 0.4894 MB / 468.7 MB, free: 68.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/0.275, allocations: 417.9 kB / 469.1 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/0.2793, allocations: 6.383 MB / 475.5 MB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008279/0.2802, allocations: 79.38 kB / 475.5 MB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.2803, allocations: 79.88 kB / 475.6 MB, free: 63.29 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.000738/0.281, allocations: 262.2 kB / 475.9 MB, free: 63.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.2813, allocations: 311.4 kB / 476.2 MB, free: 62.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.2836, allocations: 1.689 MB / 477.9 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.2836, allocations: 25.36 kB / 477.9 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.2836, allocations: 17.03 kB / 477.9 MB, free: 62.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2836, allocations: 6.609 kB / 477.9 MB, free: 62.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.2893, allocations: 4.367 MB / 482.3 MB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.2893, allocations: 1.188 kB / 482.3 MB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.29, allocations: 267.3 kB / 482.5 MB, free: 60.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.2911, allocations: 0.5293 MB / 483.1 MB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.2912, allocations: 52.22 kB / 483.1 MB, free: 60.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006062/0.2973, allocations: 10.64 MB / 493.8 MB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2973, allocations: 2.438 kB / 493.8 MB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.3011, allocations: 2.249 MB / 496 MB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007518/0.3019, allocations: 429.4 kB / 496.4 MB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.3021, allocations: 44.05 kB / 496.5 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.3027, allocations: 73.47 kB / 496.6 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.303, allocations: 144.9 kB / 496.7 MB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.544e-05/0.3031, allocations: 59.73 kB / 496.8 MB, free: 49.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.3045, allocations: 1.115 MB / 497.9 MB, free: 49.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3045, allocations: 0 / 497.9 MB, free: 49.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003008/0.3075, allocations: 0.6828 MB / 498.5 MB, free: 49.27 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.001033/0.3085, allocations: 427.2 kB / 499 MB, free: 49.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.3111, allocations: 1.866 MB / 0.4891 GB, free: 48.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3111, allocations: 0 / 0.4891 GB, free: 48.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.3125, allocations: 1.651 MB / 0.4907 GB, free: 47.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.3139, allocations: 0.4946 MB / 0.4912 GB, free: 47.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008132/0.322, allocations: 6.005 MB / 0.4971 GB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008971/0.3229, allocations: 0.9515 MB / 0.498 GB, free: 43.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009888/0.3239, allocations: 394.9 kB / 0.4984 GB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.3242, allocations: 152.7 kB / 0.4985 GB, free: 43.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3242, allocations: 0 / 0.4985 GB, free: 43.66 MB / 410.7 MB Notification: Performance of Templates: time 0.04321/0.3674, allocations: 35.37 MB / 0.533 GB, free: 16.8 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.077164901886135]