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.001/0.001, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001038/0.001038, allocations: 165.5 kB / 24.91 MB, free: 8.777 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.9871/0.9871, allocations: 177 MB / 205.2 MB, free: 5.062 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.2713/0.2713, allocations: 34.86 MB / 296.6 MB, free: 460 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.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 1.402e-06/1.402e-06, allocations: 0 / 326.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.638e-05, allocations: 2.312 kB / 326.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.03686/0.03689, allocations: 20.09 MB / 346.1 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.05052, allocations: 6.351 MB / 352.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.05413, allocations: 174.9 kB / 352.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.05768, allocations: 1.416 MB / 354.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.06323, allocations: 2.045 MB / 356.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.06594, allocations: 1.262 MB / 357.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008503/0.07444, allocations: 6.446 MB / 363.8 MB, free: 1.086 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004766/0.07921, allocations: 2.995 MB / 366.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0095/0.08871, allocations: 4.671 MB / 371.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00517/0.09388, allocations: 3.075 MB / 374.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0019/0.09578, allocations: 0.7656 MB / 375.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.09849, allocations: 1.074 MB / 376.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.1006, allocations: 1.967 MB / 378.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004837/0.1055, allocations: 2.284 MB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008524/0.114, allocations: 5.397 MB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.114, allocations: 4 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.114, allocations: 4 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002025/0.1142, allocations: 0 / 386.1 MB, free: 10.69 MB / 362.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.009418/0.1236, allocations: 6.333 MB / 392.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1237, allocations: 8.031 kB / 392.4 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.127, allocations: 1.382 MB / 393.8 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/0.1309, allocations: 2.335 MB / 396.1 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.1311, allocations: 386.6 kB / 396.5 MB, free: 88 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006181/0.1317, allocations: 0.4964 MB / 397 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/0.1369, allocations: 3.867 MB / 400.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.921e-05/0.137, allocations: 15.83 kB / 400.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/0.1373, allocations: 208 kB / 401.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.1375, allocations: 246.2 kB / 401.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.14, allocations: 1.534 MB / 402.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01795/0.158, allocations: 13.23 MB / 416.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.1607, allocations: 2.337 MB / 418.4 MB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.1618, allocations: 0.9297 MB / 419.4 MB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005083/0.1669, allocations: 2.826 MB / 422.2 MB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.167, allocations: 56.56 kB / 422.2 MB, free: 5.676 MB / 394.7 MB Notification: Performance of pre-optimization done (n=204): time 5.089e-06/0.167, allocations: 3.938 kB / 422.2 MB, free: 5.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.007951/0.1749, allocations: 4.391 MB / 426.6 MB, free: 1.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.175, allocations: 77.34 kB / 426.7 MB, free: 1.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.177, allocations: 1.896 MB / 428.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.1771, allocations: 61.7 kB / 428.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009602/0.178, allocations: 2.058 MB / 430.7 MB, free: 13.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/0.1785, allocations: 0.7939 MB / 431.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005153/0.179, allocations: 0.4942 MB / 432 MB, free: 11.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.1791, allocations: 305.1 kB / 432.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.1796, allocations: 325.8 kB / 432.6 MB, free: 11.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.1804, allocations: 1.22 MB / 433.9 MB, free: 9.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.1822, allocations: 1.865 MB / 435.7 MB, free: 7.277 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.1822, allocations: 8 kB / 435.7 MB, free: 7.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.00298/0.1852, allocations: 1.905 MB / 437.6 MB, free: 5.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.1852, allocations: 16 kB / 437.6 MB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/0.1853, allocations: 32.47 kB / 437.7 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007587/0.186, allocations: 341.6 kB / 438 MB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.1875, allocations: 0.6864 MB / 438.7 MB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.198/0.3855, allocations: 7.347 MB / 446 MB, free: 85.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.3873, allocations: 106.3 kB / 446.1 MB, free: 85.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.3875, allocations: 101.8 kB / 446.2 MB, free: 85.93 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.001178/0.3887, allocations: 298.2 kB / 446.5 MB, free: 85.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/0.3891, allocations: 253.2 kB / 446.8 MB, free: 85.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.3916, allocations: 1.6 MB / 448.4 MB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.3916, allocations: 22.97 kB / 448.4 MB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.3916, allocations: 8.531 kB / 448.4 MB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.3916, allocations: 10.78 kB / 448.4 MB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/0.3977, allocations: 4.352 MB / 452.8 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.3978, allocations: 7.344 kB / 452.8 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.3988, allocations: 361.9 kB / 453.1 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.4, allocations: 0.5603 MB / 453.7 MB, free: 84.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.4001, allocations: 56.41 kB / 453.8 MB, free: 84.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.4057, allocations: 12.06 MB / 465.8 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4057, allocations: 9.688 kB / 465.8 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.4084, allocations: 2.158 MB / 468 MB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.4089, allocations: 356.8 kB / 468.3 MB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.4092, allocations: 54.42 kB / 468.4 MB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.41, allocations: 84.39 kB / 468.5 MB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.4102, allocations: 174.6 kB / 468.6 MB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.4104, allocations: 45.2 kB / 468.7 MB, free: 74.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008889/0.4112, allocations: 0.9531 MB / 469.6 MB, free: 74.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4112, allocations: 0 / 469.6 MB, free: 74.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002153/0.4134, allocations: 0.9239 MB / 470.6 MB, free: 74.19 MB / 410.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.0003517/0.4137, allocations: 238.7 kB / 470.8 MB, free: 74.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.4158, allocations: 2.019 MB / 472.8 MB, free: 73.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.386e-05/0.4159, allocations: 39.31 kB / 472.8 MB, free: 73.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.4174, allocations: 1.801 MB / 474.6 MB, free: 72.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.4192, allocations: 0.7215 MB / 475.4 MB, free: 72.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008253/0.4275, allocations: 7.828 MB / 483.2 MB, free: 66.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/0.4283, allocations: 1.036 MB / 484.2 MB, free: 66.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001034/0.4294, allocations: 420.3 kB / 484.6 MB, free: 65.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.4307, allocations: 0.6934 MB / 485.3 MB, free: 65.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4307, allocations: 0 / 485.3 MB, free: 65.13 MB / 410.7 MB Notification: Performance of Templates: time 0.05098/0.4816, allocations: 43.23 MB / 0.5162 GB, free: 24.38 MB / 410.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 -s gbode -gbm=radauIIA3 -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.228727486915886]