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.001437/0.001437, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001709/0.001709, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.9323/0.9323, 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.153/0.153, 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.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.874e-06/1.874e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.336e-05, allocations: 4.062 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01299/0.01302, allocations: 20.01 MB / 400.1 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009121/0.02214, allocations: 6.085 MB / 406.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.02403, allocations: 174.9 kB / 406.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.02621, allocations: 1.377 MB / 407.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003187/0.0294, allocations: 2.045 MB / 409.8 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.03114, allocations: 1.272 MB / 411.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005607/0.03674, allocations: 6.442 MB / 417.5 MB, free: 1.098 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005568/0.04231, allocations: 2.936 MB / 420.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007522/0.04983, allocations: 4.683 MB / 425.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004962/0.0548, allocations: 3.087 MB / 428.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.0566, allocations: 0.7617 MB / 429 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.059, allocations: 1.058 MB / 430 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.06063, allocations: 1.983 MB / 432 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0049/0.06553, allocations: 2.272 MB / 434.3 MB, free: 208 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009255/0.07478, allocations: 5.393 MB / 439.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.07479, allocations: 0 / 439.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.07479, allocations: 0 / 439.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003252/0.07512, allocations: 4 kB / 439.7 MB, free: 10.79 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.01054/0.08565, allocations: 6.699 MB / 446.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.08569, allocations: 16.02 kB / 446.4 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.0887, allocations: 1.523 MB / 447.9 MB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004954/0.09365, allocations: 3.31 MB / 451.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.09391, allocations: 386.6 kB / 451.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007271/0.09463, allocations: 0.5119 MB / 452.1 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005682/0.1003, allocations: 3.774 MB / 455.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.1004, allocations: 11.89 kB / 455.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003292/0.1007, allocations: 215.9 kB / 456.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.1009, allocations: 242.2 kB / 456.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.1037, allocations: 1.542 MB / 457.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01974/0.1235, allocations: 16.51 MB / 474.4 MB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.1266, allocations: 2.594 MB / 477 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.1279, allocations: 1.006 MB / 478 MB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/0.1338, allocations: 3.44 MB / 481.4 MB, free: 380 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.1338, allocations: 55.39 kB / 481.5 MB, free: 312 kB / 394.7 MB Notification: Performance of pre-optimization done (n=204): time 4.258e-06/0.1338, allocations: 0 / 481.5 MB, free: 312 kB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.0085/0.1423, allocations: 4.597 MB / 486.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1424, allocations: 81.41 kB / 486.2 MB, free: 11.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.1449, allocations: 2.205 MB / 488.4 MB, free: 9.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.145, allocations: 65.64 kB / 488.4 MB, free: 9.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.1463, allocations: 2.567 MB / 491 MB, free: 6.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/0.1468, allocations: 0.8174 MB / 491.8 MB, free: 5.852 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005957/0.1474, allocations: 0.5478 MB / 492.4 MB, free: 5.289 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1475, allocations: 476.8 kB / 492.8 MB, free: 4.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.148, allocations: 329.5 kB / 493.2 MB, free: 4.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.1492, allocations: 1.657 MB / 494.8 MB, free: 2.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1669/0.3161, allocations: 2.232 MB / 497.1 MB, free: 85.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.732e-05/0.3161, allocations: 8.75 kB / 497.1 MB, free: 85.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.003694/0.3198, allocations: 2.394 MB / 499.5 MB, free: 85.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.3199, allocations: 15.44 kB / 499.5 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/0.3199, allocations: 30.16 kB / 499.5 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.3206, allocations: 350.8 kB / 499.8 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3218, allocations: 0.6188 MB / 0.4887 GB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/0.3253, allocations: 10.27 MB / 0.4988 GB, free: 76.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.3267, allocations: 108.7 kB / 0.4989 GB, free: 76.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.3268, allocations: 106.1 kB / 0.499 GB, free: 76.02 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.0009537/0.3277, allocations: 348.3 kB / 0.4993 GB, free: 75.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004927/0.3282, allocations: 378.5 kB / 0.4997 GB, free: 75.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.3307, allocations: 1.889 MB / 0.5015 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.3307, allocations: 27.03 kB / 0.5015 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.466e-05/0.3307, allocations: 11.97 kB / 0.5015 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.3308, allocations: 13.61 kB / 0.5016 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008618/0.3394, allocations: 5.362 MB / 0.5068 GB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.3394, allocations: 3.812 kB / 0.5068 GB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.3403, allocations: 338 kB / 0.5071 GB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.3416, allocations: 0.5085 MB / 0.5076 GB, free: 74.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/0.3417, allocations: 61.59 kB / 0.5077 GB, free: 74.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/0.3484, allocations: 16.79 MB / 0.5241 GB, free: 60.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.3484, allocations: 10.31 kB / 0.5241 GB, free: 60.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.3518, allocations: 2.562 MB / 0.5266 GB, free: 59.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007672/0.3525, allocations: 495.2 kB / 0.5271 GB, free: 59.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.3528, allocations: 50.5 kB / 0.5271 GB, free: 59.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/0.3535, allocations: 84.73 kB / 0.5272 GB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.3537, allocations: 180.4 kB / 0.5274 GB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/0.3538, allocations: 53.52 kB / 0.5274 GB, free: 59.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.355, allocations: 1.14 MB / 0.5285 GB, free: 58.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.355, allocations: 0 / 0.5285 GB, free: 58.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002642/0.3577, allocations: 0.9202 MB / 0.5294 GB, free: 58.88 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.0004825/0.3582, allocations: 259.4 kB / 0.5297 GB, free: 58.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.3606, allocations: 2.425 MB / 0.532 GB, free: 56.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3606, allocations: 6.422 kB / 0.532 GB, free: 56.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.3622, allocations: 2.319 MB / 0.5343 GB, free: 54.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.3642, allocations: 0.7163 MB / 0.535 GB, free: 54.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.3755, allocations: 8.165 MB / 0.543 GB, free: 47.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.3767, allocations: 1.239 MB / 0.5442 GB, free: 46.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00148/0.3782, allocations: 418.1 kB / 0.5446 GB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.3793, allocations: 0.7834 MB / 0.5454 GB, free: 45.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.275e-06/0.3793, allocations: 0 / 0.5454 GB, free: 45.79 MB / 410.7 MB Notification: Performance of Templates: time 0.05578/0.4351, allocations: 43.89 MB / 0.5882 GB, free: 2.57 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 -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.591035065241158]