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.001943/0.001943, allocations: 111.9 kB / 20.44 MB, free: 4.586 MB / 13.93 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.002811/0.002811, allocations: 217.3 kB / 23.73 MB, free: 2.133 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 1.724/1.724, allocations: 230.5 MB / 257.4 MB, free: 9.508 MB / 202.7 MB " [Timeout remaining time 178] 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.2948/0.2948, allocations: 47.7 MB / 361.6 MB, free: 2.375 MB / 282.7 MB " [Timeout remaining time 179] 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 0.005516/0.005516, allocations: 99.84 kB / 0.4978 GB, free: 6.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.133, allocations: 66.21 MB / 0.5625 GB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.2518/0.3848, allocations: 21.63 MB / 0.5836 GB, free: 2.734 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.4005, allocations: 6.682 MB / 0.5901 GB, free: 13.94 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005388/0.4059, allocations: 207.8 kB / 0.5903 GB, free: 13.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006163/0.4121, allocations: 1.615 MB / 0.5919 GB, free: 13 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008983/0.4211, allocations: 2.198 MB / 0.594 GB, free: 11.53 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.4264, allocations: 1.476 MB / 0.5955 GB, free: 10.61 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0139/0.4403, allocations: 8.162 MB / 0.6034 GB, free: 6.344 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007863/0.4482, allocations: 3.887 MB / 0.6072 GB, free: 4.371 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009888/0.4581, allocations: 3.964 MB / 0.6111 GB, free: 2.312 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.4694, allocations: 4.47 MB / 0.6155 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00352/0.4729, allocations: 1.091 MB / 0.6165 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005543/0.4785, allocations: 1.307 MB / 0.6178 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004081/0.4825, allocations: 2.458 MB / 0.6202 GB, free: 13.26 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008337/0.4909, allocations: 3.587 MB / 0.6237 GB, free: 9.66 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.512, allocations: 14.37 MB / 0.6377 GB, free: 11.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.512, allocations: 4 kB / 0.6378 GB, free: 11.24 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.512, allocations: 0 / 0.6378 GB, free: 11.24 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003902/0.5124, allocations: 0 / 0.6378 GB, free: 11.24 MB / 474.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.02698/0.5394, allocations: 9.013 MB / 0.6466 GB, free: 2.141 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5394, allocations: 8.031 kB / 0.6466 GB, free: 2.133 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009346/0.5488, allocations: 1.672 MB / 0.6482 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.5617, allocations: 4.808 MB / 0.6529 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006816/0.5624, allocations: 0.518 MB / 0.6534 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/0.5649, allocations: 0.6838 MB / 0.6541 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/0.5887, allocations: 9.767 MB / 0.6636 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.5888, allocations: 7.938 kB / 0.6636 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007502/0.5896, allocations: 288 kB / 0.6639 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003919/0.59, allocations: 334.2 kB / 0.6642 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.607, allocations: 8.07 MB / 0.6721 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05685/0.6638, allocations: 24.45 MB / 0.696 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/0.6787, allocations: 6.336 MB / 0.7022 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007763/0.6864, allocations: 3.385 MB / 0.7055 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01631/0.7027, allocations: 7.254 MB / 0.7125 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.573e-05/0.7028, allocations: 64.59 kB / 0.7126 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=259): time 5.009e-06/0.7028, allocations: 0 / 0.7126 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=265): time 0.02708/0.7299, allocations: 10.98 MB / 0.7233 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.73, allocations: 77.5 kB / 0.7234 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.7354, allocations: 3.005 MB / 0.7263 GB, free: 64 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002851/0.7357, allocations: 69.78 kB / 0.7264 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003219/0.7389, allocations: 3.179 MB / 0.7295 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.74, allocations: 0.9606 MB / 0.7304 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.741, allocations: 0.5937 MB / 0.731 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7412, allocations: 309 kB / 0.7313 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/0.744, allocations: 1.451 MB / 0.7327 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/0.7478, allocations: 2.543 MB / 0.7352 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/0.755, allocations: 4.199 MB / 0.7393 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/0.755, allocations: 8 kB / 0.7393 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009953/0.7649, allocations: 4.905 MB / 0.7441 GB, free: 12.79 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.765, allocations: 20 kB / 0.7441 GB, free: 12.77 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-05/0.765, allocations: 35.94 kB / 0.7442 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.7666, allocations: 0.5701 MB / 0.7447 GB, free: 12.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/0.7699, allocations: 0.7878 MB / 0.7455 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.7831, allocations: 8.845 MB / 0.7541 GB, free: 2.094 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/0.7869, allocations: 164 kB / 0.7543 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004339/0.7873, allocations: 156 kB / 0.7544 GB, free: 1.781 MB / 0.573 GB 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.005527/0.7928, allocations: 2.075 MB / 0.7565 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.7939, allocations: 349.8 kB / 0.7568 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.8071, allocations: 4.317 MB / 0.761 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-05/0.8071, allocations: 31.98 kB / 0.761 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-05/0.8071, allocations: 12 kB / 0.7611 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/0.8072, allocations: 11.95 kB / 0.7611 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/0.8322, allocations: 8.685 MB / 0.7695 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.8322, allocations: 7.938 kB / 0.7696 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/0.835, allocations: 419.8 kB / 0.77 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004091/0.8391, allocations: 1.035 MB / 0.771 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002922/0.8394, allocations: 75.91 kB / 0.771 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02862/0.868, allocations: 17.72 MB / 0.7883 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.868, allocations: 4.094 kB / 0.7884 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.8802, allocations: 6.234 MB / 0.7944 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/0.8823, allocations: 0.6538 MB / 0.7951 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005627/0.8829, allocations: 67.98 kB / 0.7951 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.8845, allocations: 131.8 kB / 0.7953 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000568/0.8851, allocations: 209.6 kB / 0.7955 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/0.8852, allocations: 79.97 kB / 0.7955 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003473/0.8887, allocations: 1.985 MB / 0.7975 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.8887, allocations: 0 / 0.7975 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004146/0.8929, allocations: 1.156 MB / 0.7986 GB, free: 3.387 MB / 0.6198 GB 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.0005179/0.8934, allocations: 217.4 kB / 0.7988 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.2253/1.119, allocations: 3.98 MB / 0.8027 GB, free: 187.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.119, allocations: 2.453 kB / 0.8027 GB, free: 187.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004552/1.123, allocations: 2.821 MB / 0.8055 GB, free: 186.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/1.127, allocations: 0.8057 MB / 0.8063 GB, free: 186.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.149, allocations: 12.28 MB / 0.8182 GB, free: 181.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005088/1.154, allocations: 3.759 MB / 0.8219 GB, free: 180.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002775/1.156, allocations: 0.7846 MB / 0.8227 GB, free: 180 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006735/1.157, allocations: 245.3 kB / 0.8229 GB, free: 180 MB / 0.6198 GB Notification: Performance of SimCode: time 9.01e-07/1.157, allocations: 0 / 0.8229 GB, free: 180 MB / 0.6198 GB Notification: Performance of Templates: time 0.08482/1.242, allocations: 56.2 MB / 0.8778 GB, free: 144.5 MB / 0.6198 GB " [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 -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: 8.34661696664989]