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.001135/0.001135, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001785/0.00292, allocations: 449.7 kB / 10.37 MB, free: 324 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.001194/0.001194, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002733, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9395/0.9395, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09616/1.036, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.2692/0.2692, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04759/0.3168, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.172e-06/1.172e-06, allocations: 3.938 kB / 294 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.936e-05, allocations: 4.703 kB / 294 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.02871/0.02873, allocations: 39.65 MB / 333.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02262/0.05135, allocations: 11.76 MB / 345.4 MB, free: 1.445 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009384/0.06073, allocations: 381.9 kB / 345.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.07163, allocations: 9.303 MB / 355.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009205/0.08083, allocations: 3.758 MB / 358.8 MB, free: 3.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004395/0.08523, allocations: 2.443 MB / 361.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.09807, allocations: 14.07 MB / 375.3 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01993/0.118, allocations: 17.42 MB / 392.8 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01378/0.1318, allocations: 11.39 MB / 404.2 MB, free: 6.297 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007751/0.1395, allocations: 7.661 MB / 411.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0026/0.1421, allocations: 1.977 MB / 413.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.1455, allocations: 2.394 MB / 416.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002369/0.1479, allocations: 3.316 MB / 419.5 MB, free: 6.926 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004197/0.1521, allocations: 4.395 MB / 423.9 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.163, allocations: 12.18 MB / 436.1 MB, free: 6.312 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-05/0.163, allocations: 0 / 436.1 MB, free: 6.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.163, allocations: 0 / 436.1 MB, free: 6.312 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002928/0.1633, allocations: 0 / 436.1 MB, free: 6.312 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.3188/0.4821, allocations: 17.63 MB / 453.7 MB, free: 67.59 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4822, allocations: 7.766 kB / 453.7 MB, free: 67.59 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/0.4991, allocations: 6.46 MB / 460.2 MB, free: 67.52 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.5097, allocations: 4.545 MB / 464.7 MB, free: 66.82 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/0.5102, allocations: 0.935 MB / 465.7 MB, free: 66.79 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/0.5131, allocations: 1.225 MB / 466.9 MB, free: 66.78 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.5276, allocations: 9.891 MB / 476.8 MB, free: 65.68 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.5278, allocations: 22.39 kB / 476.8 MB, free: 65.67 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008492/0.5286, allocations: 0.5061 MB / 477.3 MB, free: 65.67 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003865/0.529, allocations: 0.6547 MB / 478 MB, free: 65.55 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007451/0.5365, allocations: 4.771 MB / 482.7 MB, free: 60.93 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04328/0.5798, allocations: 38.05 MB / 0.5086 GB, free: 24.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005896/0.5857, allocations: 6.236 MB / 0.5147 GB, free: 18.24 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.5869, allocations: 1.321 MB / 0.5159 GB, free: 16.96 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006438/0.5934, allocations: 4.328 MB / 0.5202 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.5934, allocations: 73.39 kB / 0.5202 GB, free: 12.71 MB / 426.8 MB Notification: Performance of pre-optimization done (n=361): time 4.989e-06/0.5934, allocations: 0 / 0.5202 GB, free: 12.71 MB / 426.8 MB Notification: Performance of matching and sorting (n=403): time 0.01328/0.6067, allocations: 8.404 MB / 0.5285 GB, free: 4.438 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.6067, allocations: 94.58 kB / 0.5285 GB, free: 4.332 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.609, allocations: 3.497 MB / 0.532 GB, free: 1.543 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.6092, allocations: 89.7 kB / 0.532 GB, free: 1.449 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.6112, allocations: 5.246 MB / 0.5372 GB, free: 12.38 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008458/0.612, allocations: 1.46 MB / 0.5386 GB, free: 11 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.6133, allocations: 1.267 MB / 0.5398 GB, free: 9.863 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.6134, allocations: 309.1 kB / 0.5401 GB, free: 9.559 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.6147, allocations: 0.8782 MB / 0.541 GB, free: 8.676 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/0.6174, allocations: 3.79 MB / 0.5447 GB, free: 3.676 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.6217, allocations: 5.336 MB / 0.5499 GB, free: 13.48 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.234e-05/0.6217, allocations: 28 kB / 0.5499 GB, free: 13.45 MB / 458.8 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.005474/0.6272, allocations: 4.655 MB / 0.5545 GB, free: 9.434 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.6273, allocations: 50.34 kB / 0.5545 GB, free: 9.387 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-05/0.6273, allocations: 104 kB / 0.5546 GB, free: 9.285 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.6288, allocations: 0.8005 MB / 0.5554 GB, free: 8.484 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/0.6319, allocations: 1.727 MB / 0.5571 GB, free: 6.875 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/0.6368, allocations: 6.051 MB / 0.563 GB, free: 0.7148 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.6391, allocations: 287.7 kB / 0.5633 GB, free: 444 kB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/0.6394, allocations: 300 kB / 0.5636 GB, free: 144 kB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (841): * Single equations (assignments): 836 * 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,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002157/0.6416, allocations: 0.6012 MB / 0.5641 GB, free: 15.66 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000622/0.6422, allocations: 435.6 kB / 0.5646 GB, free: 15.24 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/0.6458, allocations: 2.794 MB / 0.5673 GB, free: 12.45 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.6458, allocations: 40 kB / 0.5673 GB, free: 12.41 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6458, allocations: 8 kB / 0.5673 GB, free: 12.4 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.6458, allocations: 23.92 kB / 0.5674 GB, free: 12.38 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009569/0.6554, allocations: 7.068 MB / 0.5743 GB, free: 6.004 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.6554, allocations: 4 kB / 0.5743 GB, free: 6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.6572, allocations: 0.7913 MB / 0.575 GB, free: 5.246 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009748/0.6582, allocations: 0.594 MB / 0.5756 GB, free: 4.648 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.6594, allocations: 0.658 MB / 0.5763 GB, free: 3.988 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.6596, allocations: 87.97 kB / 0.5763 GB, free: 3.902 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004089/0.6637, allocations: 5.649 MB / 0.5819 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.6637, allocations: 10.17 kB / 0.5819 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.668, allocations: 3.437 MB / 0.5852 GB, free: 10.64 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.6684, allocations: 76 kB / 0.5853 GB, free: 10.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/0.6694, allocations: 104 kB / 0.5854 GB, free: 10.47 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.6697, allocations: 294.2 kB / 0.5857 GB, free: 10.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.6698, allocations: 83.97 kB / 0.5858 GB, free: 10.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001265/0.6711, allocations: 1.633 MB / 0.5873 GB, free: 8.676 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6711, allocations: 0 / 0.5873 GB, free: 8.676 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003986/0.6751, allocations: 1.922 MB / 0.5892 GB, free: 6.754 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (384): * Single equations (assignments): 379 * 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%), (8,38,59.4%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003769/0.6754, allocations: 257.7 kB / 0.5895 GB, free: 6.535 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.6793, allocations: 3.732 MB / 0.5931 GB, free: 3.152 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001662/0.6795, allocations: 125.9 kB / 0.5932 GB, free: 3.016 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.6812, allocations: 1.82 MB / 0.595 GB, free: 1.266 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.6841, allocations: 1.698 MB / 0.5967 GB, free: 15.63 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2177/0.9018, allocations: 17.83 MB / 0.6141 GB, free: 129 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.9036, allocations: 2.293 MB / 0.6163 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.00245/0.9061, allocations: 0.8441 MB / 0.6171 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/0.9079, allocations: 1.208 MB / 0.6183 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of SimCode: time 1.403e-06/0.9079, allocations: 3.688 kB / 0.6183 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.08737/0.9953, allocations: 78.24 MB / 0.6947 GB, free: 80.77 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.097802521660924]