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.0009795/0.0009795, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0009476/0.0009476, allocations: 168.8 kB / 24.91 MB, free: 8.773 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.9141/0.9141, allocations: 177 MB / 205.2 MB, free: 5.441 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.2587/0.2587, allocations: 34.86 MB / 296.6 MB, free: 456 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.704e-06/1.704e-06, allocations: 0 / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.566e-05, allocations: 2.312 kB / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01653/0.01655, allocations: 20.04 MB / 346 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.0278, allocations: 6.361 MB / 352.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.03077, allocations: 174.9 kB / 352.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.03415, allocations: 1.412 MB / 354 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005301/0.03945, allocations: 2.057 MB / 356 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.04231, allocations: 1.272 MB / 357.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006846/0.04916, allocations: 6.44 MB / 363.8 MB, free: 1.145 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/0.0531, allocations: 3.003 MB / 366.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00598/0.05908, allocations: 4.667 MB / 371.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.06333, allocations: 3.079 MB / 374.5 MB, free: 6.266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.0648, allocations: 0.7656 MB / 375.3 MB, free: 5.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.06693, allocations: 1.054 MB / 376.3 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001729/0.06866, allocations: 1.975 MB / 378.3 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003227/0.07189, allocations: 2.28 MB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006761/0.07865, allocations: 5.393 MB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.07865, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.07866, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002362/0.07889, allocations: 0 / 386 MB, free: 10.77 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.00926/0.08815, allocations: 6.336 MB / 392.3 MB, free: 4.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.08818, allocations: 12.03 kB / 392.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.09086, allocations: 1.386 MB / 393.7 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.09378, allocations: 2.331 MB / 396 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.09396, allocations: 386.6 kB / 396.4 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/0.09442, allocations: 0.5003 MB / 396.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.0985, allocations: 3.86 MB / 400.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.09865, allocations: 19.88 kB / 400.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.09905, allocations: 212 kB / 401 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.09921, allocations: 242.2 kB / 401.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.1014, allocations: 1.541 MB / 402.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.1139, allocations: 13.22 MB / 416 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.1165, allocations: 2.355 MB / 418.4 MB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.1175, allocations: 0.922 MB / 419.3 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003891/0.1214, allocations: 2.828 MB / 422.1 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1215, allocations: 56.56 kB / 422.2 MB, free: 5.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=204): time 3.016e-06/0.1215, allocations: 0 / 422.2 MB, free: 5.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.006848/0.1283, allocations: 4.386 MB / 426.5 MB, free: 1.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.1283, allocations: 73.41 kB / 426.6 MB, free: 1.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.1297, allocations: 1.9 MB / 428.5 MB, free: 15.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.345e-05/0.1298, allocations: 65.7 kB / 428.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000818/0.1306, allocations: 2.058 MB / 430.6 MB, free: 13.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/0.131, allocations: 0.7939 MB / 431.4 MB, free: 12.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/0.1316, allocations: 0.4942 MB / 431.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.1317, allocations: 309.1 kB / 432.2 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.1321, allocations: 325.8 kB / 432.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/0.1329, allocations: 1.224 MB / 433.8 MB, free: 9.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.1344, allocations: 1.849 MB / 435.6 MB, free: 7.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.1344, allocations: 8 kB / 435.6 MB, free: 7.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.002094/0.1365, allocations: 1.917 MB / 437.5 MB, free: 5.395 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1366, allocations: 16 kB / 437.6 MB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.1366, allocations: 31.94 kB / 437.6 MB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.1372, allocations: 336.1 kB / 437.9 MB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.1384, allocations: 0.6201 MB / 438.5 MB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1478/0.2861, allocations: 7.332 MB / 445.9 MB, free: 84.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.2877, allocations: 110.5 kB / 446 MB, free: 84.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.2879, allocations: 101.6 kB / 446.1 MB, free: 84.85 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.0009727/0.2888, allocations: 307.2 kB / 446.4 MB, free: 84.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.2892, allocations: 245.8 kB / 446.6 MB, free: 84.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.2911, allocations: 1.602 MB / 448.2 MB, free: 84.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.2911, allocations: 23.59 kB / 448.2 MB, free: 84.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.2911, allocations: 7.281 kB / 448.2 MB, free: 84.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.2911, allocations: 14.86 kB / 448.3 MB, free: 84.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.2956, allocations: 4.354 MB / 452.6 MB, free: 83.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2956, allocations: 3.375 kB / 452.6 MB, free: 83.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/0.2963, allocations: 328.5 kB / 452.9 MB, free: 83.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009233/0.2972, allocations: 0.5577 MB / 453.5 MB, free: 83.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.741e-05/0.2973, allocations: 58.81 kB / 453.6 MB, free: 83.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0044/0.3017, allocations: 12.03 MB / 465.6 MB, free: 73.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3017, allocations: 8.906 kB / 465.6 MB, free: 73.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.3039, allocations: 2.161 MB / 467.8 MB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/0.3044, allocations: 360.3 kB / 468.1 MB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.3046, allocations: 53.17 kB / 468.2 MB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.3051, allocations: 81.47 kB / 468.2 MB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.3053, allocations: 175.1 kB / 468.4 MB, free: 73.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/0.3054, allocations: 50.56 kB / 468.5 MB, free: 73.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007366/0.3062, allocations: 0.9489 MB / 469.4 MB, free: 73.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3062, allocations: 3.938 kB / 469.4 MB, free: 73.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001781/0.3079, allocations: 0.9232 MB / 470.3 MB, free: 73.1 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.0003239/0.3083, allocations: 229 kB / 470.6 MB, free: 73.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.3103, allocations: 2.025 MB / 472.6 MB, free: 72.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.195e-05/0.3103, allocations: 40.03 kB / 472.6 MB, free: 72.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.3119, allocations: 1.797 MB / 474.4 MB, free: 71.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.3138, allocations: 0.7244 MB / 475.1 MB, free: 71.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009103/0.3229, allocations: 7.821 MB / 483 MB, free: 65.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000929/0.3238, allocations: 1.045 MB / 484 MB, free: 64.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001073/0.3249, allocations: 417 kB / 484.4 MB, free: 64.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.3262, allocations: 0.6883 MB / 485.1 MB, free: 63.91 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3262, allocations: 0 / 485.1 MB, free: 63.91 MB / 410.7 MB Notification: Performance of Templates: time 0.05391/0.3801, allocations: 43.06 MB / 0.5158 GB, free: 23.23 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.266882169991732]