Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.0009338/0.0009338, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.0009324/0.0009324, allocations: 166 kB / 25.61 MB, free: 8.859 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.9525/0.9525, allocations: 177 MB / 205.9 MB, free: 4.457 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.1428/0.1428, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 380.1 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.3e-05, allocations: 6.906 kB / 380.1 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02137/0.02138, allocations: 31.64 MB / 411.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.03918, allocations: 9.131 MB / 420.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.04249, allocations: 290.4 kB / 421.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00868/0.05117, allocations: 8.246 MB / 429.4 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007168/0.05834, allocations: 3.841 MB / 433.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.06147, allocations: 2.146 MB / 435.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.07303, allocations: 13.76 MB / 449.2 MB, free: 1.293 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01464/0.08767, allocations: 14.8 MB / 464 MB, free: 2.336 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009376/0.09705, allocations: 9.961 MB / 473.9 MB, free: 8.359 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006121/0.1032, allocations: 7.084 MB / 481 MB, free: 1.262 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.1046, allocations: 1.875 MB / 482.9 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.1071, allocations: 2.249 MB / 485.1 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.1091, allocations: 3.904 MB / 489 MB, free: 9.223 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003866/0.113, allocations: 4.838 MB / 493.9 MB, free: 4.375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1965/0.3095, allocations: 11.85 MB / 0.4939 GB, free: 59.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3095, allocations: 0 / 0.4939 GB, free: 59.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3095, allocations: 0 / 0.4939 GB, free: 59.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006368/0.3101, allocations: 1.719 kB / 0.4939 GB, free: 59.96 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.02506/0.3352, allocations: 14.57 MB / 0.5081 GB, free: 55.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3352, allocations: 6.75 kB / 0.5081 GB, free: 55.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/0.3539, allocations: 6.781 MB / 0.5147 GB, free: 55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009359/0.3632, allocations: 7.375 MB / 0.5219 GB, free: 53.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.3636, allocations: 0.797 MB / 0.5227 GB, free: 52.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.3649, allocations: 1.049 MB / 0.5237 GB, free: 52.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.3764, allocations: 8.525 MB / 0.5321 GB, free: 49.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/0.3766, allocations: 26.42 kB / 0.5321 GB, free: 49.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007372/0.3773, allocations: 433.1 kB / 0.5325 GB, free: 49.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003601/0.3777, allocations: 0.6327 MB / 0.5331 GB, free: 48.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006454/0.3841, allocations: 4.062 MB / 0.5371 GB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/0.426, allocations: 42.87 MB / 0.579 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.4369, allocations: 7.837 MB / 0.5866 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002572/0.4395, allocations: 1.73 MB / 0.5883 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/0.4503, allocations: 6.557 MB / 0.5947 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.4504, allocations: 84.12 kB / 0.5948 GB, free: 4.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=398): time 6.903e-06/0.4504, allocations: 0 / 0.5948 GB, free: 4.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=423): time 0.02419/0.4746, allocations: 10.23 MB / 0.6048 GB, free: 10.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002342/0.4748, allocations: 128.7 kB / 0.6049 GB, free: 9.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004913/0.4797, allocations: 3.76 MB / 0.6086 GB, free: 6.758 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/0.48, allocations: 93.7 kB / 0.6087 GB, free: 6.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003211/0.4832, allocations: 5.091 MB / 0.6136 GB, free: 1.715 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/0.4844, allocations: 1.562 MB / 0.6152 GB, free: 244 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.4858, allocations: 1.267 MB / 0.6164 GB, free: 15.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4859, allocations: 484.7 kB / 0.6169 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.487, allocations: 0.7259 MB / 0.6176 GB, free: 13.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.4896, allocations: 3.808 MB / 0.6213 GB, free: 8.973 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/0.4943, allocations: 5.085 MB / 0.6263 GB, free: 3.023 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-05/0.4943, allocations: 20 kB / 0.6263 GB, free: 3.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.00665/0.5009, allocations: 5.246 MB / 0.6314 GB, free: 14.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.501, allocations: 32 kB / 0.6314 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.666e-05/0.501, allocations: 64.41 kB / 0.6315 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002953/0.504, allocations: 1.477 MB / 0.6329 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/0.5063, allocations: 1.227 MB / 0.6341 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.5176, allocations: 12.91 MB / 0.6467 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.5199, allocations: 208 kB / 0.6469 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000469/0.5204, allocations: 236 kB / 0.6472 GB, free: 13.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * 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 {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002484/0.5229, allocations: 0.5355 MB / 0.6477 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000776/0.5236, allocations: 0.6141 MB / 0.6483 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/0.5291, allocations: 3.915 MB / 0.6521 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.5291, allocations: 40 kB / 0.6521 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/0.5291, allocations: 20 kB / 0.6522 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/0.5292, allocations: 19.92 kB / 0.6522 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2122/0.7414, allocations: 11.59 MB / 0.6635 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.7414, allocations: 5.219 kB / 0.6635 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/0.7432, allocations: 0.6479 MB / 0.6641 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/0.7461, allocations: 1.353 MB / 0.6655 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003703/0.7465, allocations: 112.7 kB / 0.6656 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009921/0.7564, allocations: 18.18 MB / 0.6833 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7564, allocations: 7.156 kB / 0.6833 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008335/0.7647, allocations: 4.998 MB / 0.6882 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/0.7666, allocations: 0.9298 MB / 0.6891 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004961/0.7671, allocations: 84.66 kB / 0.6892 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.7682, allocations: 134 kB / 0.6893 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/0.7687, allocations: 345.2 kB / 0.6896 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/0.7689, allocations: 106.7 kB / 0.6897 GB, free: 111.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001932/0.7708, allocations: 1.746 MB / 0.6915 GB, free: 111.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7708, allocations: 2.969 kB / 0.6915 GB, free: 111.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005166/0.776, allocations: 1.86 MB / 0.6933 GB, free: 111.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005595/0.7766, allocations: 276.2 kB / 0.6935 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005708/0.7823, allocations: 4.641 MB / 0.6981 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.7823, allocations: 0 / 0.6981 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003094/0.7854, allocations: 3.285 MB / 0.7013 GB, free: 109.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.7885, allocations: 1.152 MB / 0.7024 GB, free: 109 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/0.8126, allocations: 16.19 MB / 0.7182 GB, free: 98.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.8149, allocations: 2.852 MB / 0.721 GB, free: 97.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00268/0.8176, allocations: 0.7608 MB / 0.7217 GB, free: 96.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/0.8194, allocations: 1.188 MB / 0.7229 GB, free: 95.66 MB / 490.7 MB Notification: Performance of SimCode: time 2.094e-06/0.8194, allocations: 0 / 0.7229 GB, free: 95.66 MB / 490.7 MB Notification: Performance of Templates: time 0.1001/0.9195, allocations: 81.73 MB / 0.8027 GB, free: 17.59 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.694166237022728]