Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_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.0009655/0.0009655, 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.0009528/0.0009528, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1/1, allocations: 177 MB / 205.2 MB, free: 5.039 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.2656/0.2656, 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.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 326.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.329e-05, allocations: 3.406 kB / 326.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02568/0.0257, allocations: 23.86 MB / 349.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.0406, allocations: 7.175 MB / 357.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004999/0.0456, allocations: 218.7 kB / 357.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005066/0.05067, allocations: 1.661 MB / 359 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008325/0.05899, allocations: 2.279 MB / 361.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003938/0.06293, allocations: 1.473 MB / 362.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009523/0.07245, allocations: 8.585 MB / 371.3 MB, free: 9.562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006227/0.07868, allocations: 4.029 MB / 375.4 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.09027, allocations: 6.09 MB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007877/0.09814, allocations: 4.155 MB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003269/0.1014, allocations: 1.082 MB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.1055, allocations: 1.32 MB / 388 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003331/0.1088, allocations: 2.509 MB / 390.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007816/0.1167, allocations: 3.099 MB / 393.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.1302, allocations: 7.169 MB / 400.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1302, allocations: 3.938 kB / 400.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1302, allocations: 0 / 400.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004692/0.1306, allocations: 4 kB / 400.8 MB, free: 11.92 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01546/0.1461, allocations: 8.671 MB / 409.5 MB, free: 3.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1461, allocations: 8.031 kB / 409.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005939/0.1521, allocations: 2.283 MB / 411.8 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006042/0.1581, allocations: 2.876 MB / 414.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.1584, allocations: 0.518 MB / 415.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009783/0.1594, allocations: 0.6916 MB / 415.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007939/0.1674, allocations: 5.277 MB / 421.1 MB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.1675, allocations: 11.89 kB / 421.1 MB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004413/0.1679, allocations: 288 kB / 421.4 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002567/0.1682, allocations: 334.1 kB / 421.7 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/0.172, allocations: 2.148 MB / 423.9 MB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.1967, allocations: 17.71 MB / 441.6 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1816/0.3783, allocations: 4.119 MB / 445.7 MB, free: 82.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.381, allocations: 1.954 MB / 447.7 MB, free: 82.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007033/0.3881, allocations: 4.138 MB / 451.8 MB, free: 82.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.3881, allocations: 71.23 kB / 451.9 MB, free: 82.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 4.619e-06/0.3881, allocations: 0 / 451.9 MB, free: 82.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01045/0.3986, allocations: 5.515 MB / 457.4 MB, free: 81.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3986, allocations: 81.31 kB / 457.5 MB, free: 81.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.4006, allocations: 2.14 MB / 459.6 MB, free: 81.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.4008, allocations: 71.48 kB / 459.7 MB, free: 81.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.4018, allocations: 2.698 MB / 462.4 MB, free: 80.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.4023, allocations: 0.9574 MB / 463.3 MB, free: 79.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006284/0.4029, allocations: 0.5759 MB / 463.9 MB, free: 79.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.4029, allocations: 303.7 kB / 464.2 MB, free: 79.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005444/0.4035, allocations: 396.4 kB / 464.6 MB, free: 79.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/0.4042, allocations: 1.438 MB / 466 MB, free: 78.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.4059, allocations: 2.148 MB / 468.2 MB, free: 76.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/0.4059, allocations: 10.25 kB / 468.2 MB, free: 76.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.002541/0.4084, allocations: 2.262 MB / 470.5 MB, free: 76.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4085, allocations: 18.91 kB / 470.5 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.4085, allocations: 32.59 kB / 470.5 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007899/0.4093, allocations: 435.6 kB / 470.9 MB, free: 76.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.4109, allocations: 0.8345 MB / 471.8 MB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.4141, allocations: 6.481 MB / 478.2 MB, free: 69.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4155, allocations: 113.9 kB / 478.4 MB, free: 69.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.4156, allocations: 121.5 kB / 478.5 MB, free: 69.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (406): * Single equations (assignments): 400 * 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,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001188/0.4168, allocations: 336.5 kB / 478.8 MB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.4171, allocations: 288.5 kB / 479.1 MB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.4194, allocations: 2.025 MB / 481.1 MB, free: 68.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.4194, allocations: 28 kB / 481.1 MB, free: 68.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/0.4195, allocations: 12 kB / 481.2 MB, free: 68.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.4195, allocations: 17.77 kB / 481.2 MB, free: 68.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/0.4258, allocations: 5.445 MB / 486.6 MB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4259, allocations: 6.406 kB / 486.6 MB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/0.4268, allocations: 412.8 kB / 487 MB, free: 64.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.4282, allocations: 0.8001 MB / 487.8 MB, free: 63.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.4284, allocations: 69.72 kB / 487.9 MB, free: 63.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006927/0.4353, allocations: 12.69 MB / 0.4889 GB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4353, allocations: 7.844 kB / 0.4889 GB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.4386, allocations: 2.592 MB / 0.4914 GB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/0.4395, allocations: 389.6 kB / 0.4918 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/0.4398, allocations: 60 kB / 0.4918 GB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006855/0.4405, allocations: 99.95 kB / 0.4919 GB, free: 47.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.4408, allocations: 213.2 kB / 0.4921 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.4409, allocations: 55.97 kB / 0.4922 GB, free: 47.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000926/0.4419, allocations: 1.082 MB / 0.4932 GB, free: 46.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.4419, allocations: 4 kB / 0.4932 GB, free: 46.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003162/0.445, allocations: 1.148 MB / 0.4944 GB, free: 45.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (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,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (195): * Single equations (assignments): 188 * 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,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,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.0004327/0.4455, allocations: 201.1 kB / 0.4945 GB, free: 45.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.4479, allocations: 2.127 MB / 0.4966 GB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.435e-05/0.4479, allocations: 43.84 kB / 0.4967 GB, free: 42.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.4495, allocations: 1.993 MB / 0.4986 GB, free: 40.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.4516, allocations: 0.8184 MB / 0.4994 GB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.4642, allocations: 10.18 MB / 0.5093 GB, free: 29.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.4653, allocations: 1.327 MB / 0.5106 GB, free: 28.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001629/0.4669, allocations: 494.1 kB / 0.5111 GB, free: 28.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.4682, allocations: 0.7919 MB / 0.5119 GB, free: 27.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.522e-06/0.4682, allocations: 0 / 0.5119 GB, free: 27.28 MB / 410.7 MB Notification: Performance of Templates: time 0.0719/0.5401, allocations: 51.85 MB / 0.5625 GB, free: 8.148 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.418753361795098]