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.001927/0.001927, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.002158/0.002158, allocations: 164.8 kB / 23.95 MB, free: 0.6055 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.647/1.647, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.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.3492/0.3492, allocations: 34.86 MB / 295.4 MB, free: 0.5312 MB / 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.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 1.543e-06/1.543e-06, allocations: 0 / 443.6 MB, free: 388 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.52e-05, allocations: 2.281 kB / 443.6 MB, free: 384 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.1827/0.1827, allocations: 23.44 MB / 467.1 MB, free: 28.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.1954, allocations: 7.269 MB / 474.3 MB, free: 23.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.1999, allocations: 218.2 kB / 474.6 MB, free: 23.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004443/0.2043, allocations: 1.783 MB / 476.3 MB, free: 22.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006838/0.2111, allocations: 2.508 MB / 478.9 MB, free: 20.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003392/0.2145, allocations: 1.557 MB / 480.4 MB, free: 19.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007959/0.2225, allocations: 9.171 MB / 489.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00509/0.2276, allocations: 4.004 MB / 493.6 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009566/0.2371, allocations: 6.162 MB / 499.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007691/0.2448, allocations: 3.96 MB / 0.4919 GB, free: 8.383 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003222/0.2481, allocations: 1.133 MB / 0.493 GB, free: 8.383 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00522/0.2533, allocations: 1.355 MB / 0.4943 GB, free: 8.309 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003367/0.2566, allocations: 2.609 MB / 0.4969 GB, free: 6.562 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008404/0.265, allocations: 3.244 MB / 0.5 GB, free: 4.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02066/0.2857, allocations: 15.05 MB / 0.5147 GB, free: 11.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2857, allocations: 0 / 0.5147 GB, free: 11.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2857, allocations: 4 kB / 0.5147 GB, free: 11.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004286/0.2861, allocations: 0 / 0.5147 GB, free: 11.8 MB / 426.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.02973/0.3159, allocations: 9.447 MB / 0.524 GB, free: 2.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3159, allocations: 8.031 kB / 0.524 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009952/0.3259, allocations: 1.752 MB / 0.5257 GB, free: 500 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/0.3383, allocations: 5.058 MB / 0.5306 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006333/0.3389, allocations: 0.542 MB / 0.5312 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/0.3414, allocations: 0.7073 MB / 0.5319 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/0.3636, allocations: 10.1 MB / 0.5417 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/0.3638, allocations: 19.83 kB / 0.5417 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008653/0.3647, allocations: 296 kB / 0.542 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004274/0.3651, allocations: 354.6 kB / 0.5424 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.3841, allocations: 8.303 MB / 0.5505 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05846/0.4425, allocations: 25.89 MB / 0.5757 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/0.4569, allocations: 6.428 MB / 0.582 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00837/0.4653, allocations: 3.51 MB / 0.5854 GB, free: 3.109 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01833/0.4836, allocations: 7.578 MB / 0.5928 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.303e-05/0.4837, allocations: 64.78 kB / 0.5929 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=281): time 5.05e-06/0.4837, allocations: 0 / 0.5929 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=289): time 0.03067/0.5144, allocations: 11.65 MB / 0.6043 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.5145, allocations: 81.69 kB / 0.6044 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006044/0.5205, allocations: 3.365 MB / 0.6077 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003154/0.5208, allocations: 73.7 kB / 0.6077 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003403/0.5242, allocations: 3.376 MB / 0.611 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.5255, allocations: 1.03 MB / 0.612 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/0.5267, allocations: 0.6493 MB / 0.6127 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.5269, allocations: 309.1 kB / 0.613 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/0.5299, allocations: 1.542 MB / 0.6145 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004674/0.5346, allocations: 2.739 MB / 0.6171 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008187/0.5428, allocations: 4.51 MB / 0.6215 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.932e-05/0.5428, allocations: 15.94 kB / 0.6216 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01128/0.5541, allocations: 5.233 MB / 0.6267 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.5542, allocations: 20 kB / 0.6267 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.496e-05/0.5542, allocations: 39.98 kB / 0.6267 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.5559, allocations: 0.5691 MB / 0.6273 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003601/0.5595, allocations: 0.8541 MB / 0.6281 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3576/0.9171, allocations: 8.849 MB / 0.6368 GB, free: 139.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.9203, allocations: 172.2 kB / 0.6369 GB, free: 139.6 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/0.9207, allocations: 167.4 kB / 0.6371 GB, free: 139.6 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (446): * Single equations (assignments): 440 * 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.003374/0.9241, allocations: 2.155 MB / 0.6392 GB, free: 139.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000784/0.9249, allocations: 399.3 kB / 0.6396 GB, free: 139.4 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00718/0.932, allocations: 4.566 MB / 0.644 GB, free: 137.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.9321, allocations: 27.88 kB / 0.644 GB, free: 137.7 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/0.9321, allocations: 13.88 kB / 0.6441 GB, free: 137.7 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/0.9321, allocations: 15.98 kB / 0.6441 GB, free: 137.7 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.9475, allocations: 9.248 MB / 0.6531 GB, free: 133.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.9476, allocations: 5.562 kB / 0.6531 GB, free: 133.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.9494, allocations: 445.1 kB / 0.6535 GB, free: 133.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/0.9518, allocations: 1.042 MB / 0.6546 GB, free: 133.3 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.952, allocations: 79.58 kB / 0.6546 GB, free: 133.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/0.9668, allocations: 17.81 MB / 0.672 GB, free: 119.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/0.9669, allocations: 13.94 kB / 0.672 GB, free: 119.9 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.9777, allocations: 6.628 MB / 0.6785 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/0.9797, allocations: 0.7326 MB / 0.6792 GB, free: 116.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006401/0.9803, allocations: 71.41 kB / 0.6793 GB, free: 116.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/0.9822, allocations: 136.9 kB / 0.6794 GB, free: 116.8 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005195/0.9827, allocations: 231.5 kB / 0.6796 GB, free: 116.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/0.9829, allocations: 89.75 kB / 0.6797 GB, free: 116.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.003366/0.9862, allocations: 2.212 MB / 0.6819 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/0.9862, allocations: 0 / 0.6819 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.004512/0.9908, allocations: 1.235 MB / 0.6831 GB, free: 115.8 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (217): * Single equations (assignments): 210 * 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,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.0005461/0.9913, allocations: 226.2 kB / 0.6833 GB, free: 115.6 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.006682/0.998, allocations: 4.21 MB / 0.6874 GB, free: 113.8 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.998, allocations: 5.156 kB / 0.6874 GB, free: 113.8 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004381/1.002, allocations: 2.937 MB / 0.6903 GB, free: 112.1 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004889/1.007, allocations: 0.9705 MB / 0.6912 GB, free: 111.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.029, allocations: 12.57 MB / 0.7035 GB, free: 105.8 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004637/1.033, allocations: 3.926 MB / 0.7074 GB, free: 104.6 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.003051/1.036, allocations: 0.8527 MB / 0.7082 GB, free: 104.2 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/1.037, allocations: 267.1 kB / 0.7085 GB, free: 103.9 MB / 0.5262 GB Notification: Performance of SimCode: time 1.313e-06/1.037, allocations: 0 / 0.7085 GB, free: 103.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.1357/1.173, allocations: 54.07 MB / 0.7613 GB, free: 53.5 MB / 0.5262 GB " [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: 8.153775278944522]