Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.0007661/0.0007661, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.00195, 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.0007286/0.0007286, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001747, 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 1.041/1.041, allocations: 177.5 MB / 190.1 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09465/1.136, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.2654/0.2654, allocations: 34.88 MB / 279.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02917/0.2946, allocations: 13.23 MB / 292.8 MB, free: 6.402 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.266e-05, allocations: 8.984 kB / 294.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.03009/0.03012, allocations: 39.65 MB / 333.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02555/0.05566, allocations: 11.76 MB / 345.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008558/0.06422, allocations: 381.9 kB / 346 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01303/0.07725, allocations: 9.303 MB / 355.3 MB, free: 7.629 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.09174, allocations: 3.744 MB / 359.1 MB, free: 3.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006577/0.09831, allocations: 2.449 MB / 361.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0157/0.114, allocations: 14.07 MB / 375.6 MB, free: 3.285 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02841/0.1424, allocations: 17.43 MB / 393 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02278/0.1652, allocations: 11.38 MB / 404.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01362/0.1788, allocations: 7.665 MB / 412.1 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006893/0.1857, allocations: 1.977 MB / 414 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.196, allocations: 2.401 MB / 416.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006749/0.2028, allocations: 3.316 MB / 419.7 MB, free: 6.824 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0163/0.2191, allocations: 4.399 MB / 424.1 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02271/0.2418, allocations: 12.15 MB / 436.3 MB, free: 6.238 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.2418, allocations: 4 kB / 436.3 MB, free: 6.234 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2418, allocations: 0 / 436.3 MB, free: 6.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006845/0.2425, allocations: 0 / 436.3 MB, free: 6.234 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: 3414 * Number of variables: 3414 Notification: Performance of Generate backend data structure: time 0.3547/0.5972, allocations: 17.62 MB / 453.9 MB, free: 67.59 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.5973, allocations: 11.02 kB / 453.9 MB, free: 67.59 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02419/0.6215, allocations: 6.448 MB / 460.4 MB, free: 67.52 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.6333, allocations: 4.541 MB / 464.9 MB, free: 66.83 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005963/0.6339, allocations: 0.9282 MB / 465.8 MB, free: 66.8 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002552/0.6365, allocations: 1.236 MB / 467.1 MB, free: 66.79 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01642/0.6529, allocations: 9.895 MB / 477 MB, free: 65.68 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003353/0.6532, allocations: 19.2 kB / 477 MB, free: 65.67 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009495/0.6542, allocations: 0.5091 MB / 477.5 MB, free: 65.67 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004383/0.6546, allocations: 0.6343 MB / 478.1 MB, free: 65.55 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008163/0.6628, allocations: 4.77 MB / 482.9 MB, free: 60.97 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05248/0.7153, allocations: 38.05 MB / 0.5087 GB, free: 24.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006723/0.722, allocations: 6.234 MB / 0.5148 GB, free: 18.26 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.7237, allocations: 1.318 MB / 0.5161 GB, free: 16.98 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.724, allocations: 155.8 kB / 0.5163 GB, free: 16.83 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.724, allocations: 90.42 kB / 0.5164 GB, free: 16.73 MB / 426.8 MB Notification: Performance of pre-optimization done (n=492): time 7.314e-06/0.724, allocations: 0 / 0.5164 GB, free: 16.73 MB / 426.8 MB Notification: Performance of matching and sorting (n=536): time 0.01986/0.7439, allocations: 11.12 MB / 0.5272 GB, free: 5.812 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.7439, allocations: 107.5 kB / 0.5273 GB, free: 5.691 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/0.747, allocations: 3.468 MB / 0.5307 GB, free: 2.926 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002311/0.7472, allocations: 113.7 kB / 0.5308 GB, free: 2.809 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.7488, allocations: 5.074 MB / 0.5358 GB, free: 13.92 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.7503, allocations: 1.9 MB / 0.5376 GB, free: 12.12 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/0.7519, allocations: 1.406 MB / 0.539 GB, free: 10.87 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.7519, allocations: 306.9 kB / 0.5393 GB, free: 10.57 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.7535, allocations: 0.9869 MB / 0.5402 GB, free: 9.582 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/0.7562, allocations: 3.919 MB / 0.5441 GB, free: 4.48 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005112/0.7613, allocations: 6.029 MB / 0.55 GB, free: 13.6 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.014e-05/0.7614, allocations: 28 kB / 0.55 GB, free: 13.57 MB / 458.8 MB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.006899/0.7683, allocations: 4.987 MB / 0.5549 GB, free: 9.234 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.7683, allocations: 51.94 kB / 0.5549 GB, free: 9.184 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.7684, allocations: 100 kB / 0.555 GB, free: 9.086 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.77, allocations: 0.8284 MB / 0.5558 GB, free: 8.254 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/0.7741, allocations: 1.977 MB / 0.5577 GB, free: 6.406 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004829/0.779, allocations: 6.106 MB / 0.5637 GB, free: 200 kB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/0.783, allocations: 311.9 kB / 0.564 GB, free: 15.89 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/0.7841, allocations: 316 kB / 0.5643 GB, free: 15.58 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * 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 (964): * Single equations (assignments): 959 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002853/0.787, allocations: 0.6437 MB / 0.5649 GB, free: 15.05 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/0.7881, allocations: 0.4956 MB / 0.5654 GB, free: 14.56 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.7926, allocations: 3.213 MB / 0.5686 GB, free: 11.3 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.7926, allocations: 56 kB / 0.5686 GB, free: 11.25 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.7926, allocations: 12 kB / 0.5686 GB, free: 11.23 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.7926, allocations: 23.91 kB / 0.5686 GB, free: 11.21 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/0.8089, allocations: 8.767 MB / 0.5772 GB, free: 3.18 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8089, allocations: 8 kB / 0.5772 GB, free: 3.172 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00227/0.8112, allocations: 1.022 MB / 0.5782 GB, free: 2.199 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/0.8132, allocations: 0.6594 MB / 0.5789 GB, free: 1.539 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.8147, allocations: 0.6686 MB / 0.5795 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/0.8149, allocations: 112 kB / 0.5796 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.8189, allocations: 5.646 MB / 0.5851 GB, free: 10.96 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.8189, allocations: 11.47 kB / 0.5851 GB, free: 10.95 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005269/0.8242, allocations: 4.113 MB / 0.5892 GB, free: 6.668 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007346/0.8249, allocations: 106.1 kB / 0.5893 GB, free: 6.566 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.8263, allocations: 136 kB / 0.5894 GB, free: 6.434 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004438/0.8267, allocations: 359 kB / 0.5897 GB, free: 6.082 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/0.8269, allocations: 108 kB / 0.5898 GB, free: 5.977 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001917/0.8288, allocations: 1.627 MB / 0.5914 GB, free: 4.559 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8288, allocations: 0 / 0.5914 GB, free: 4.559 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005126/0.8339, allocations: 2.047 MB / 0.5934 GB, free: 2.512 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 4 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi,smpmQS.inertiaRotor.w,quadraticSpeedDependentTorqueQS.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 (517): * Single equations (assignments): 512 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006499/0.8346, allocations: 294.6 kB / 0.5937 GB, free: 2.273 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.005422/0.84, allocations: 4.231 MB / 0.5978 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 0.0002101/0.8402, allocations: 131.2 kB / 0.598 GB, free: 14.28 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.8429, allocations: 2.395 MB / 0.6003 GB, free: 12 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1677/1.011, allocations: 11.81 MB / 0.6118 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07172/1.082, allocations: 18.24 MB / 0.6296 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003504/1.086, allocations: 2.343 MB / 0.6319 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002806/1.089, allocations: 0.9243 MB / 0.6328 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00233/1.091, allocations: 1.308 MB / 0.6341 GB, free: 126 MB / 0.4949 GB Notification: Performance of SimCode: time 1.894e-06/1.091, allocations: 0 / 0.6341 GB, free: 126 MB / 0.4949 GB Notification: Performance of Templates: time 0.1035/1.194, allocations: 84.08 MB / 0.7162 GB, free: 63.65 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.441268760710955]