Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.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.0007572/0.0007572, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002017, allocations: 457.8 kB / 10.45 MB, free: 244 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.001034/0.001034, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005016/0.006049, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9746/0.9746, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09583/1.07, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.251/0.251, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03108/0.2821, allocations: 13.23 MB / 292.8 MB, free: 6.379 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.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.31e-07/9.31e-07, allocations: 0 / 294.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.047e-05, allocations: 3.516 kB / 294.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.0183/0.01831, allocations: 26.01 MB / 320.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.03266, allocations: 7.869 MB / 328.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.03618, allocations: 222.7 kB / 328.3 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.03941, allocations: 1.851 MB / 330.2 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.04503, allocations: 2.523 MB / 332.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.0476, allocations: 1.561 MB / 334.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008129/0.05573, allocations: 9.24 MB / 343.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004222/0.05995, allocations: 4.108 MB / 347.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007168/0.06712, allocations: 6.94 MB / 354.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.07091, allocations: 4.334 MB / 358.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.07201, allocations: 1.129 MB / 360 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.07363, allocations: 1.359 MB / 361.3 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.07479, allocations: 2.1 MB / 363.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002201/0.07699, allocations: 2.726 MB / 366.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.08247, allocations: 7.126 MB / 373.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.08247, allocations: 0 / 373.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.08248, allocations: 0 / 373.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001396/0.08262, allocations: 0 / 373.3 MB, free: 5.461 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0149/0.09752, allocations: 10.89 MB / 384.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.09756, allocations: 15.44 kB / 384.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006542/0.1041, allocations: 2.392 MB / 386.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006455/0.1106, allocations: 3.072 MB / 389.7 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003675/0.1109, allocations: 0.5303 MB / 390.2 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.1123, allocations: 0.7151 MB / 390.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008995/0.1213, allocations: 5.522 MB / 396.4 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.1214, allocations: 19.88 kB / 396.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006774/0.1221, allocations: 296 kB / 396.7 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.1224, allocations: 342.6 kB / 397.1 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004057/0.1264, allocations: 2.232 MB / 399.3 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02817/0.1546, allocations: 19.03 MB / 418.3 MB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.1598, allocations: 4.168 MB / 422.5 MB, free: 3.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.1622, allocations: 1.991 MB / 424.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.1625, allocations: 131 kB / 424.6 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.1626, allocations: 81.53 kB / 424.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=388): time 4.699e-06/0.1626, allocations: 0 / 424.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=398): time 0.01427/0.1768, allocations: 7.573 MB / 432.3 MB, free: 9.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1769, allocations: 90.53 kB / 432.4 MB, free: 9.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.1796, allocations: 2.379 MB / 434.7 MB, free: 6.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002071/0.1798, allocations: 89.7 kB / 434.8 MB, free: 6.887 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.1809, allocations: 2.669 MB / 437.5 MB, free: 4.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007759/0.1817, allocations: 1.413 MB / 438.9 MB, free: 2.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007966/0.1825, allocations: 0.7139 MB / 439.6 MB, free: 2.031 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.1825, allocations: 305.1 kB / 439.9 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.1832, allocations: 0.4989 MB / 440.4 MB, free: 1.223 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1814/0.3647, allocations: 1.622 MB / 442 MB, free: 89.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003273/0.368, allocations: 2.656 MB / 444.7 MB, free: 88.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.14e-05/0.368, allocations: 10.34 kB / 444.7 MB, free: 88.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=566) (initialization): time 0.004587/0.3726, allocations: 2.716 MB / 447.4 MB, free: 88.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.3726, allocations: 23.33 kB / 447.5 MB, free: 88.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.622e-05/0.3727, allocations: 30.56 kB / 447.5 MB, free: 88.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.3738, allocations: 484.8 kB / 448 MB, free: 88.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/0.3767, allocations: 1.156 MB / 449.1 MB, free: 88.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.3811, allocations: 6.779 MB / 455.9 MB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.3835, allocations: 144.7 kB / 456 MB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.3837, allocations: 147.2 kB / 456.2 MB, free: 83.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (534): * Single equations (assignments): 528 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,9,100.0%), (1,1,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00163/0.3853, allocations: 388.3 kB / 456.6 MB, free: 83.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006836/0.386, allocations: 374.5 kB / 456.9 MB, free: 83.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.39, allocations: 2.564 MB / 459.5 MB, free: 82.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.39, allocations: 41 kB / 459.5 MB, free: 82.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/0.39, allocations: 13.5 kB / 459.5 MB, free: 82.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/0.39, allocations: 18.19 kB / 459.6 MB, free: 82.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.4017, allocations: 7.557 MB / 467.1 MB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4018, allocations: 11.53 kB / 467.1 MB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.4035, allocations: 0.6624 MB / 467.8 MB, free: 81.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/0.405, allocations: 492.1 kB / 468.3 MB, free: 81.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.4069, allocations: 0.8247 MB / 469.1 MB, free: 81.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.407, allocations: 94.72 kB / 469.2 MB, free: 81.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008471/0.4155, allocations: 12.75 MB / 481.9 MB, free: 72.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/0.4155, allocations: 15.19 kB / 481.9 MB, free: 72.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.4208, allocations: 3.475 MB / 485.4 MB, free: 71.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008582/0.4217, allocations: 90.67 kB / 485.5 MB, free: 71.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.423, allocations: 128.6 kB / 485.6 MB, free: 71.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005405/0.4236, allocations: 300.8 kB / 485.9 MB, free: 71.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/0.4237, allocations: 89.48 kB / 486 MB, free: 70.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001433/0.4252, allocations: 1.22 MB / 487.2 MB, free: 70.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4252, allocations: 0 / 487.2 MB, free: 70.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003899/0.4291, allocations: 1.319 MB / 488.6 MB, free: 68.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 14 (vfController3.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,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * 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 (326): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (4,33,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,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.0004802/0.4296, allocations: 246.5 kB / 488.8 MB, free: 68.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.4328, allocations: 2.647 MB / 491.4 MB, free: 66.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000103/0.4329, allocations: 85.94 kB / 491.5 MB, free: 66.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.435, allocations: 2.506 MB / 494 MB, free: 64.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/0.4398, allocations: 10 MB / 0.4922 GB, free: 53.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04423/0.4841, allocations: 11.83 MB / 0.5038 GB, free: 42.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.4853, allocations: 1.464 MB / 0.5052 GB, free: 40.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002024/0.4874, allocations: 0.5985 MB / 0.5058 GB, free: 39.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.4888, allocations: 0.9941 MB / 0.5068 GB, free: 38.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4888, allocations: 0 / 0.5068 GB, free: 38.96 MB / 426.7 MB Notification: Performance of Templates: time 0.08288/0.5717, allocations: 65.94 MB / 0.5712 GB, free: 5.785 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.55158194899559]