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.000919/0.000919, allocations: 79.69 kB / 21.7 MB, free: 2.84 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.0009089/0.0009089, allocations: 161.5 kB / 25 MB, free: 8.809 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 0.8809/0.8809, allocations: 177 MB / 205.2 MB, free: 5.613 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.2289/0.2289, allocations: 34.87 MB / 296.6 MB, free: 0.5742 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.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.142e-06/1.142e-06, allocations: 0 / 378.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.337e-05, allocations: 2.312 kB / 378.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.02933/0.02934, allocations: 41.3 MB / 420.2 MB, free: 8.805 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.04626, allocations: 11.14 MB / 431.3 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004451/0.05071, allocations: 377.9 kB / 431.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009268/0.05998, allocations: 9.367 MB / 441.1 MB, free: 3.844 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.06554, allocations: 3.774 MB / 444.9 MB, free: 48 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1278/0.1933, allocations: 2.457 MB / 447.3 MB, free: 47.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008677/0.202, allocations: 13.99 MB / 461.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0132/0.2152, allocations: 17.45 MB / 478.8 MB, free: 37.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007393/0.2226, allocations: 10.92 MB / 489.7 MB, free: 32.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005912/0.2285, allocations: 7.491 MB / 497.2 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.2302, allocations: 1.979 MB / 499.2 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.2327, allocations: 2.384 MB / 0.4898 GB, free: 30.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001777/0.2345, allocations: 4.16 MB / 0.4938 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003626/0.2381, allocations: 5.251 MB / 0.499 GB, free: 25.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009151/0.2472, allocations: 12.85 MB / 0.5115 GB, free: 19.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2473, allocations: 3.406 kB / 0.5115 GB, free: 19.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2473, allocations: 0 / 0.5115 GB, free: 19.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002224/0.2475, allocations: 0 / 0.5115 GB, free: 19.32 MB / 410.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.01754/0.265, allocations: 16.52 MB / 0.5277 GB, free: 5.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2651, allocations: 8.031 kB / 0.5277 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.2829, allocations: 8.001 MB / 0.5355 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00834/0.2912, allocations: 7.932 MB / 0.5432 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/0.2916, allocations: 0.9334 MB / 0.5441 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.2928, allocations: 1.231 MB / 0.5453 GB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.3074, allocations: 10.55 MB / 0.5556 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.3075, allocations: 23.89 kB / 0.5557 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008335/0.3084, allocations: 0.5117 MB / 0.5562 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003961/0.3088, allocations: 0.6543 MB / 0.5568 GB, free: 9.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.3189, allocations: 5.55 MB / 0.5622 GB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04505/0.364, allocations: 49.03 MB / 0.6101 GB, free: 2.801 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.13/0.494, allocations: 9.006 MB / 0.6189 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002483/0.4965, allocations: 1.718 MB / 0.6206 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007397/0.5039, allocations: 5.798 MB / 0.6262 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.504, allocations: 77.92 kB / 0.6263 GB, free: 144.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=361): time 4.979e-06/0.504, allocations: 0 / 0.6263 GB, free: 144.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=403): time 0.01542/0.5194, allocations: 10.9 MB / 0.6369 GB, free: 142.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.5194, allocations: 91.33 kB / 0.637 GB, free: 142.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/0.5237, allocations: 4.617 MB / 0.6415 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.5239, allocations: 91.73 kB / 0.6416 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.5258, allocations: 6.077 MB / 0.6476 GB, free: 138.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006397/0.5265, allocations: 1.49 MB / 0.649 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/0.5279, allocations: 1.512 MB / 0.6505 GB, free: 136.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.913e-05/0.528, allocations: 476.8 kB / 0.651 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.5296, allocations: 0.983 MB / 0.6519 GB, free: 136 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/0.5323, allocations: 5.562 MB / 0.6573 GB, free: 129.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.5371, allocations: 7.218 MB / 0.6644 GB, free: 122.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.134e-05/0.5372, allocations: 31.5 kB / 0.6644 GB, free: 122.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.007171/0.5443, allocations: 6.314 MB / 0.6706 GB, free: 120.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.5444, allocations: 51.81 kB / 0.6706 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.484e-05/0.5445, allocations: 102.5 kB / 0.6707 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.5462, allocations: 0.8849 MB / 0.6716 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/0.5491, allocations: 1.62 MB / 0.6732 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/0.5543, allocations: 8.448 MB / 0.6814 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.5566, allocations: 392.1 kB / 0.6818 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/0.557, allocations: 365.3 kB / 0.6822 GB, free: 113.3 MB / 490.7 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.002172/0.5591, allocations: 0.6433 MB / 0.6828 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/0.5598, allocations: 0.6618 MB / 0.6834 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/0.5646, allocations: 3.75 MB / 0.6871 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.5647, allocations: 28.03 kB / 0.6871 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.5647, allocations: 4 kB / 0.6871 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.5658, allocations: 0.9427 MB / 0.688 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/0.5662, allocations: 71.78 kB / 0.6881 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.5673, allocations: 203 kB / 0.6883 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.5676, allocations: 306 kB / 0.6886 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004532/0.5721, allocations: 3.006 MB / 0.6915 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004473/0.5766, allocations: 3.945 MB / 0.6954 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001119/0.5777, allocations: 0.9848 MB / 0.6963 GB, free: 107 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002025/0.5797, allocations: 2.148 MB / 0.6984 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Backend: time 2.6e-07/0.5797, allocations: 0 / 0.6984 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005063/0.5848, allocations: 4.293 MB / 0.7026 GB, free: 101.4 MB / 490.7 MB Notification: Performance of SimCode: time 0.01768/0.6025, allocations: 18.62 MB / 0.7208 GB, free: 84.25 MB / 490.7 MB Notification: Performance of Templates: time 0.08552/0.688, allocations: 86.76 MB / 0.8055 GB, free: 1.953 MB / 490.7 MB " [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.049831917975098]