Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.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.001047/0.001047, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00167/0.002717, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001181/0.001181, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002624, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8741/0.8741, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08073/0.9548, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.317/0.317, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02475/0.3418, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 3.984 kB / 293.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.504e-05, allocations: 5.438 kB / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01698/0.01701, allocations: 20.21 MB / 314.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009666/0.02667, allocations: 6.401 MB / 320.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.02829, allocations: 174.9 kB / 320.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.03027, allocations: 1.424 MB / 322.2 MB, free: 8.781 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.03343, allocations: 2.038 MB / 324.2 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.03535, allocations: 1.266 MB / 325.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004997/0.04035, allocations: 6.46 MB / 331.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.04349, allocations: 3.003 MB / 334.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00571/0.0492, allocations: 5.016 MB / 339.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.05289, allocations: 3.079 MB / 343 MB, free: 3.707 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.05411, allocations: 0.7656 MB / 343.8 MB, free: 2.941 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.05577, allocations: 1.077 MB / 344.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.05707, allocations: 1.601 MB / 346.5 MB, free: 264 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.05925, allocations: 1.895 MB / 348.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005247/0.0645, allocations: 5.089 MB / 353.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.06451, allocations: 0 / 353.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.06452, allocations: 0 / 353.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001323/0.06465, allocations: 4 kB / 353.4 MB, free: 9.25 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.009892/0.07454, allocations: 7.56 MB / 361 MB, free: 1.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.07457, allocations: 8.922 kB / 361 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/0.07814, allocations: 1.394 MB / 362.4 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.08185, allocations: 2.324 MB / 364.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.0821, allocations: 386.6 kB / 365.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005911/0.08269, allocations: 0.5003 MB / 365.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.08757, allocations: 3.865 MB / 369.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.34e-05/0.08766, allocations: 15.88 kB / 369.5 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.08803, allocations: 211.9 kB / 369.7 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/0.08823, allocations: 246.2 kB / 369.9 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.09103, allocations: 1.537 MB / 371.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.1068, allocations: 13.3 MB / 384.8 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.1093, allocations: 2.336 MB / 387.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.1105, allocations: 0.9219 MB / 388 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005164/0.1156, allocations: 2.832 MB / 390.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.1157, allocations: 60.55 kB / 390.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=204): time 3.777e-06/0.1157, allocations: 0 / 390.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.007442/0.1231, allocations: 4.393 MB / 395.3 MB, free: 14.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1232, allocations: 73.41 kB / 395.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.1248, allocations: 1.896 MB / 397.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.1249, allocations: 65.7 kB / 397.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/0.1257, allocations: 2.054 MB / 399.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.1261, allocations: 0.79 MB / 400.2 MB, free: 9.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/0.1265, allocations: 0.4942 MB / 400.7 MB, free: 9.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.1266, allocations: 305.1 kB / 401 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.127, allocations: 329.8 kB / 401.3 MB, free: 8.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/0.1278, allocations: 1.224 MB / 402.5 MB, free: 6.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.1293, allocations: 1.849 MB / 404.4 MB, free: 4.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.1293, allocations: 8 kB / 404.4 MB, free: 4.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.002337/0.1317, allocations: 1.924 MB / 406.3 MB, free: 2.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.1317, allocations: 19.94 kB / 406.3 MB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.1317, allocations: 35.92 kB / 406.4 MB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.1323, allocations: 338.9 kB / 406.7 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.1338, allocations: 0.7294 MB / 407.4 MB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.138, allocations: 7.361 MB / 414.8 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.1395, allocations: 111.9 kB / 414.9 MB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.1397, allocations: 104 kB / 415 MB, free: 9.402 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (344): * Single equations (assignments): 337 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001049/0.1407, allocations: 303.7 kB / 415.3 MB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003803/0.1411, allocations: 243.8 kB / 415.5 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.1431, allocations: 1.605 MB / 417.1 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.1432, allocations: 28 kB / 417.2 MB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1432, allocations: 8 kB / 417.2 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.1432, allocations: 11.95 kB / 417.2 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/0.1488, allocations: 4.353 MB / 421.5 MB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1488, allocations: 4 kB / 421.5 MB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.1496, allocations: 399.9 kB / 421.9 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006197/0.1503, allocations: 349.9 kB / 422.3 MB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009931/0.1513, allocations: 0.5535 MB / 422.8 MB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/0.1513, allocations: 59.97 kB / 422.9 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006749/0.1581, allocations: 12.07 MB / 435 MB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.1581, allocations: 7.938 kB / 435 MB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/0.1611, allocations: 2.157 MB / 437.1 MB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/0.1615, allocations: 48 kB / 437.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.1622, allocations: 87.95 kB / 437.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.1624, allocations: 169.5 kB / 437.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/0.1625, allocations: 55.97 kB / 437.5 MB, free: 1.867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001294/0.1638, allocations: 0.9551 MB / 438.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1638, allocations: 0 / 438.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.1635/0.3273, allocations: 0.9125 MB / 439.3 MB, free: 96.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.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 (181): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007456/0.3281, allocations: 239.5 kB / 439.6 MB, free: 96.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.3307, allocations: 2.027 MB / 441.6 MB, free: 95.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001108/0.3308, allocations: 62.28 kB / 441.7 MB, free: 95.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.3325, allocations: 1.795 MB / 443.5 MB, free: 94.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/0.3352, allocations: 0.9504 MB / 444.4 MB, free: 94.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/0.3692, allocations: 8.224 MB / 452.6 MB, free: 91.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/0.3701, allocations: 1.067 MB / 453.7 MB, free: 90.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001167/0.3712, allocations: 416.5 kB / 454.1 MB, free: 90.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.3722, allocations: 0.6927 MB / 454.8 MB, free: 90.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3722, allocations: 0 / 454.8 MB, free: 90.76 MB / 426.7 MB Notification: Performance of Templates: time 0.04924/0.4215, allocations: 45.34 MB / 0.4884 GB, free: 57.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0336249228566885]