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.001465/0.001465, allocations: 91.5 kB / 20.93 MB, free: 3.617 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.001489/0.001489, allocations: 156.5 kB / 24.23 MB, free: 332 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.9534/0.9534, allocations: 177 MB / 204.5 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.2674/0.2674, allocations: 34.87 MB / 295.8 MB, free: 0.5781 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.783e-06/1.783e-06, allocations: 0 / 378.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.447e-05, allocations: 2.312 kB / 378.1 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01359/0.01362, allocations: 14.21 MB / 392.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.02149, allocations: 5.284 MB / 397.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.02272, allocations: 107.4 kB / 397.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.02461, allocations: 1.056 MB / 398.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.02704, allocations: 1.514 MB / 400.3 MB, free: 12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.02849, allocations: 1.021 MB / 401.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003762/0.03225, allocations: 4.572 MB / 405.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.03397, allocations: 1.806 MB / 407.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.03716, allocations: 3.037 MB / 410.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.03908, allocations: 2.136 MB / 412.9 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004815/0.03956, allocations: 0.5352 MB / 413.4 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.04073, allocations: 0.8976 MB / 414.3 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000763/0.0415, allocations: 1.43 MB / 415.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.04297, allocations: 1.594 MB / 417.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.04609, allocations: 3.952 MB / 421.3 MB, free: 6.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.0461, allocations: 4 kB / 421.3 MB, free: 6.895 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0461, allocations: 0 / 421.3 MB, free: 6.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.759e-05/0.04614, allocations: 0 / 421.3 MB, free: 6.895 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.006069/0.05221, allocations: 5.306 MB / 426.6 MB, free: 1.516 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.05224, allocations: 12.03 kB / 426.6 MB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.05507, allocations: 1.333 MB / 427.9 MB, free: 172 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.05779, allocations: 2.619 MB / 430.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.05791, allocations: 255.1 kB / 430.8 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/0.05824, allocations: 332.3 kB / 431.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.06211, allocations: 2.734 MB / 433.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/0.06217, allocations: 4 kB / 433.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.06239, allocations: 132 kB / 434 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.06251, allocations: 154.7 kB / 434.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.06497, allocations: 1.288 MB / 435.4 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1832/0.2481, allocations: 11.25 MB / 446.7 MB, free: 73.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.251, allocations: 2.216 MB / 448.9 MB, free: 73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.2522, allocations: 0.9386 MB / 449.8 MB, free: 72.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003355/0.2556, allocations: 2.727 MB / 452.6 MB, free: 72.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2556, allocations: 57.8 kB / 452.6 MB, free: 72.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.216e-06/0.2556, allocations: 0 / 452.6 MB, free: 72.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.008761/0.2644, allocations: 4.949 MB / 457.6 MB, free: 71.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2644, allocations: 73.5 kB / 457.6 MB, free: 71.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.2665, allocations: 1.988 MB / 459.6 MB, free: 71.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.2665, allocations: 58.64 kB / 459.7 MB, free: 71.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000811/0.2674, allocations: 1.795 MB / 461.5 MB, free: 70.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.2677, allocations: 0.6668 MB / 462.1 MB, free: 70.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004222/0.2681, allocations: 350.5 kB / 462.5 MB, free: 70.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.2682, allocations: 483.5 kB / 463 MB, free: 69.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006729/0.2688, allocations: 320.6 kB / 463.3 MB, free: 69.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.2697, allocations: 0.9039 MB / 464.2 MB, free: 69.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.2714, allocations: 1.351 MB / 465.5 MB, free: 68.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.2714, allocations: 5.531 kB / 465.5 MB, free: 68.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.003039/0.2744, allocations: 1.856 MB / 467.4 MB, free: 68.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.2745, allocations: 13.19 kB / 467.4 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.2745, allocations: 11.78 kB / 467.4 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.2757, allocations: 490.6 kB / 467.9 MB, free: 68.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.2768, allocations: 429.9 kB / 468.3 MB, free: 68.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/0.2822, allocations: 6.376 MB / 474.7 MB, free: 63.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.283, allocations: 83.36 kB / 474.8 MB, free: 63.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.2832, allocations: 80.48 kB / 474.8 MB, free: 63.42 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.0006794/0.2839, allocations: 266.4 kB / 475.1 MB, free: 63.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000369/0.2842, allocations: 308.2 kB / 475.4 MB, free: 63.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.287, allocations: 1.692 MB / 477.1 MB, free: 62.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.287, allocations: 21.09 kB / 477.1 MB, free: 62.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.287, allocations: 6.031 kB / 477.1 MB, free: 62.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.287, allocations: 13 kB / 477.1 MB, free: 62.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006753/0.2938, allocations: 4.385 MB / 481.5 MB, free: 60.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.2938, allocations: 1.094 kB / 481.5 MB, free: 60.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/0.2947, allocations: 273.5 kB / 481.8 MB, free: 60.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.2962, allocations: 0.5365 MB / 482.3 MB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.2963, allocations: 48.08 kB / 482.4 MB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/0.303, allocations: 10.64 MB / 493 MB, free: 51.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.303, allocations: 2.281 kB / 493 MB, free: 51.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.3069, allocations: 2.241 MB / 495.3 MB, free: 50.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/0.3076, allocations: 453 kB / 495.7 MB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.3079, allocations: 41.41 kB / 495.7 MB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/0.3086, allocations: 76.53 kB / 495.8 MB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.3088, allocations: 147 kB / 496 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-05/0.3089, allocations: 51.34 kB / 496 MB, free: 49.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001415/0.3104, allocations: 1.16 MB / 497.2 MB, free: 49.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3104, allocations: 3.844 kB / 497.2 MB, free: 49.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002049/0.3124, allocations: 0.6917 MB / 497.9 MB, free: 49.41 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.001096/0.3135, allocations: 432 kB / 498.3 MB, free: 49.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.3161, allocations: 1.864 MB / 0.4884 GB, free: 48.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3161, allocations: 4.125 kB / 0.4884 GB, free: 48.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.3177, allocations: 1.659 MB / 0.49 GB, free: 47.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.3193, allocations: 0.5144 MB / 0.4906 GB, free: 47.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008401/0.3277, allocations: 6.04 MB / 0.4964 GB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.3285, allocations: 0.9492 MB / 0.4974 GB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001148/0.3297, allocations: 410.3 kB / 0.4978 GB, free: 43.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.3301, allocations: 168.8 kB / 0.4979 GB, free: 43.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3301, allocations: 0 / 0.4979 GB, free: 43.78 MB / 410.7 MB Notification: Performance of Templates: time 0.04197/0.3721, allocations: 35.67 MB / 0.5328 GB, free: 16.6 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.247015139088035]