Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.0008702/0.0008702, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009541/0.0009541, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.9388/0.9388, allocations: 177 MB / 205.2 MB, free: 5.445 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.2439/0.2439, allocations: 34.86 MB / 296.6 MB, free: 468 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.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.944e-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.SMPM_Inverter): time 0.02376/0.02378, allocations: 21.4 MB / 347.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.03887, allocations: 6.861 MB / 354.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.04155, allocations: 178.9 kB / 354.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.04493, allocations: 1.552 MB / 356 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.05019, allocations: 2.216 MB / 358.2 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.05279, allocations: 1.333 MB / 359.6 MB, free: 5.367 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00705/0.05984, allocations: 6.866 MB / 366.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.06399, allocations: 3.1 MB / 369.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006244/0.07023, allocations: 4.901 MB / 374.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.07298, allocations: 3.227 MB / 377.6 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006169/0.0736, allocations: 0.7969 MB / 378.4 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.07472, allocations: 1.085 MB / 379.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.07588, allocations: 2.06 MB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.07749, allocations: 2.401 MB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.08152, allocations: 5.638 MB / 389.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08153, allocations: 3.938 kB / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.08153, allocations: 0 / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.08157, allocations: 0 / 389.6 MB, free: 7.105 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.006661/0.08823, allocations: 6.677 MB / 396.3 MB, free: 372 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.08826, allocations: 12.03 kB / 396.3 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.09099, allocations: 1.456 MB / 397.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.0939, allocations: 2.451 MB / 400.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.09409, allocations: 403.1 kB / 400.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005558/0.09465, allocations: 0.5276 MB / 401.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/0.09853, allocations: 4.059 MB / 405.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-05/0.09862, allocations: 11.94 kB / 405.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.09893, allocations: 216 kB / 405.4 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.09909, allocations: 258.6 kB / 405.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.1014, allocations: 1.609 MB / 407.3 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.1153, allocations: 14.19 MB / 421.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.1179, allocations: 2.349 MB / 423.8 MB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.1189, allocations: 0.9457 MB / 424.8 MB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004073/0.123, allocations: 2.944 MB / 427.7 MB, free: 140 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.123, allocations: 56.56 kB / 427.8 MB, free: 72 kB / 394.7 MB Notification: Performance of pre-optimization done (n=219): time 2.966e-06/0.123, allocations: 4 kB / 427.8 MB, free: 68 kB / 394.7 MB Notification: Performance of matching and sorting (n=239): time 0.006943/0.1299, allocations: 4.699 MB / 432.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.13, allocations: 73.41 kB / 432.6 MB, free: 11.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.1315, allocations: 2.083 MB / 434.6 MB, free: 9.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.1316, allocations: 65.7 kB / 434.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009304/0.1325, allocations: 2.165 MB / 436.9 MB, free: 6.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.1329, allocations: 0.8597 MB / 437.7 MB, free: 6.062 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.1334, allocations: 0.5341 MB / 438.3 MB, free: 5.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.1335, allocations: 309.1 kB / 438.6 MB, free: 5.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.1339, allocations: 350.7 kB / 438.9 MB, free: 4.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/0.1348, allocations: 1.356 MB / 440.3 MB, free: 3.055 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.1364, allocations: 2.019 MB / 442.3 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.1364, allocations: 11.94 kB / 442.3 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.1463/0.2827, allocations: 2.056 MB / 444.4 MB, free: 86.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.2827, allocations: 23.55 kB / 444.4 MB, free: 86.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/0.2828, allocations: 32.25 kB / 444.4 MB, free: 86.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/0.2835, allocations: 340.1 kB / 444.7 MB, free: 86.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.2852, allocations: 0.677 MB / 445.4 MB, free: 86.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.2887, allocations: 7.394 MB / 452.8 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.29, allocations: 118 kB / 452.9 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.2902, allocations: 114.3 kB / 453 MB, free: 79.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (376): * Single equations (assignments): 369 * 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,12,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.0009672/0.2912, allocations: 323.3 kB / 453.4 MB, free: 79.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.2915, allocations: 268.7 kB / 453.6 MB, free: 79.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.2939, allocations: 1.686 MB / 455.3 MB, free: 79.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.2939, allocations: 24.58 kB / 455.3 MB, free: 79.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.2939, allocations: 10.09 kB / 455.3 MB, free: 79.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.294, allocations: 11.16 kB / 455.3 MB, free: 79.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/0.3002, allocations: 4.629 MB / 460 MB, free: 78.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.3002, allocations: 4.531 kB / 460 MB, free: 78.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.3012, allocations: 360.2 kB / 460.3 MB, free: 78.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.3024, allocations: 0.5673 MB / 460.9 MB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.3025, allocations: 62.66 kB / 461 MB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00563/0.3082, allocations: 12.1 MB / 473.1 MB, free: 68.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3082, allocations: 7.25 kB / 473.1 MB, free: 68.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.311, allocations: 2.295 MB / 475.4 MB, free: 67.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/0.3116, allocations: 383.6 kB / 475.7 MB, free: 67.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/0.3119, allocations: 58.92 kB / 475.8 MB, free: 67.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.3128, allocations: 85.62 kB / 475.9 MB, free: 67.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.3131, allocations: 192.1 kB / 476.1 MB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.3132, allocations: 54.66 kB / 476.1 MB, free: 67.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008923/0.314, allocations: 1.04 MB / 477.2 MB, free: 67.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3141, allocations: 4 kB / 477.2 MB, free: 67.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002338/0.3164, allocations: 0.9842 MB / 478.1 MB, free: 67.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],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 (197): * Single equations (assignments): 189 * 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,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003789/0.3168, allocations: 245.2 kB / 478.4 MB, free: 67.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.3189, allocations: 2.128 MB / 480.5 MB, free: 66.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.595e-05/0.319, allocations: 43.84 kB / 480.6 MB, free: 66.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.3205, allocations: 1.835 MB / 482.4 MB, free: 64.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.3227, allocations: 0.8349 MB / 483.2 MB, free: 64.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007509/0.3302, allocations: 8.266 MB / 491.5 MB, free: 57.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.331, allocations: 1.089 MB / 492.6 MB, free: 56.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000947/0.3319, allocations: 467.3 kB / 493 MB, free: 56.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.333, allocations: 0.7756 MB / 493.8 MB, free: 55.48 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.333, allocations: 0 / 493.8 MB, free: 55.48 MB / 410.7 MB Notification: Performance of Templates: time 0.04927/0.3823, allocations: 47.36 MB / 0.5285 GB, free: 9.586 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.127071156632155]