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.0009451/0.0009451, allocations: 95.5 kB / 20.94 MB, free: 3.613 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.001003/0.001003, allocations: 156.5 kB / 24.23 MB, free: 332 kB / 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.009/1.009, allocations: 177 MB / 204.5 MB, free: 5.555 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.2749/0.2749, allocations: 34.87 MB / 295.8 MB, free: 0.5508 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.593e-06/1.593e-06, allocations: 0 / 378.1 MB, free: 2.246 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.45e-05, allocations: 8.078 kB / 378.1 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.03193/0.03196, allocations: 41.07 MB / 419.2 MB, free: 8.992 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02249/0.05445, allocations: 11.13 MB / 430.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008385/0.06284, allocations: 381.9 kB / 430.7 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01558/0.07842, allocations: 9.359 MB / 440.1 MB, free: 4.051 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.09023, allocations: 3.774 MB / 443.8 MB, free: 260 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1882/0.2784, allocations: 2.448 MB / 446.3 MB, free: 47.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.2913, allocations: 14.01 MB / 460.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02202/0.3134, allocations: 17.45 MB / 477.7 MB, free: 37.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01495/0.3283, allocations: 10.68 MB / 488.4 MB, free: 32.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.3411, allocations: 7.598 MB / 496 MB, free: 30.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009196/0.3503, allocations: 1.988 MB / 498 MB, free: 30.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.3606, allocations: 2.401 MB / 0.4887 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007126/0.3677, allocations: 4.194 MB / 0.4928 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01431/0.382, allocations: 5.279 MB / 0.4979 GB, free: 25.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02154/0.4035, allocations: 12.92 MB / 0.5105 GB, free: 19.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4036, allocations: 0.8125 kB / 0.5105 GB, free: 19.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4036, allocations: 0 / 0.5105 GB, free: 19.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007485/0.4043, allocations: 0 / 0.5105 GB, free: 19.42 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.03543/0.4397, allocations: 16.58 MB / 0.5267 GB, free: 5.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4398, allocations: 8.031 kB / 0.5267 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02323/0.463, allocations: 8.001 MB / 0.5346 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/0.4768, allocations: 7.921 MB / 0.5423 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007909/0.4776, allocations: 0.9268 MB / 0.5432 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004075/0.4817, allocations: 1.235 MB / 0.5444 GB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03514/0.5168, allocations: 10.57 MB / 0.5547 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004866/0.5173, allocations: 19.91 kB / 0.5547 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002997/0.5203, allocations: 0.5124 MB / 0.5552 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006491/0.521, allocations: 0.6504 MB / 0.5559 GB, free: 9.613 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02248/0.5434, allocations: 5.567 MB / 0.5613 GB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08543/0.6289, allocations: 49.17 MB / 0.6093 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1951/0.824, allocations: 9.033 MB / 0.6182 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004096/0.8281, allocations: 1.722 MB / 0.6198 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.8388, allocations: 5.857 MB / 0.6256 GB, free: 144 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.8388, allocations: 75.77 kB / 0.6256 GB, free: 143.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=361): time 5.39e-06/0.8388, allocations: 3.938 kB / 0.6256 GB, free: 143.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=403): time 0.01999/0.8588, allocations: 10.98 MB / 0.6364 GB, free: 141.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.8589, allocations: 98.05 kB / 0.6364 GB, free: 141.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005839/0.8647, allocations: 4.624 MB / 0.641 GB, free: 141 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.8649, allocations: 89.42 kB / 0.641 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002721/0.8677, allocations: 6.082 MB / 0.647 GB, free: 137.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009202/0.8686, allocations: 1.49 MB / 0.6484 GB, free: 136.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/0.8702, allocations: 1.505 MB / 0.6499 GB, free: 135.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.8702, allocations: 477.8 kB / 0.6504 GB, free: 135 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.8721, allocations: 0.9886 MB / 0.6513 GB, free: 134.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003442/0.8756, allocations: 5.562 MB / 0.6568 GB, free: 128.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005881/0.8815, allocations: 7.23 MB / 0.6638 GB, free: 121.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.473e-05/0.8816, allocations: 31.06 kB / 0.6639 GB, free: 121.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.008746/0.8903, allocations: 6.319 MB / 0.67 GB, free: 119.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.8904, allocations: 59.45 kB / 0.6701 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.8905, allocations: 102.4 kB / 0.6702 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.8924, allocations: 0.886 MB / 0.671 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/0.8958, allocations: 1.629 MB / 0.6726 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.9021, allocations: 8.459 MB / 0.6809 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.9064, allocations: 416 kB / 0.6813 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007491/0.9072, allocations: 364.9 kB / 0.6816 GB, free: 112.2 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.003538/0.9107, allocations: 0.6411 MB / 0.6823 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/0.9118, allocations: 0.6613 MB / 0.6829 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005845/0.9177, allocations: 3.793 MB / 0.6866 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.9177, allocations: 44.84 kB / 0.6867 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/0.9177, allocations: 11.28 kB / 0.6867 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.161e-05/0.9178, allocations: 24.42 kB / 0.6867 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/0.9364, allocations: 11.86 MB / 0.6983 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.9364, allocations: 7.938 kB / 0.6983 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.9381, allocations: 0.7683 MB / 0.699 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.9397, allocations: 0.741 MB / 0.6998 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.9399, allocations: 98.81 kB / 0.6999 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/0.9448, allocations: 8.005 MB / 0.7077 GB, free: 94.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.9448, allocations: 8.125 kB / 0.7077 GB, free: 94.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00707/0.9518, allocations: 4.786 MB / 0.7124 GB, free: 90.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/0.954, allocations: 0.959 MB / 0.7133 GB, free: 89.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006103/0.9547, allocations: 75.94 kB / 0.7134 GB, free: 89.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.956, allocations: 223 kB / 0.7136 GB, free: 89.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/0.9565, allocations: 295.4 kB / 0.7139 GB, free: 88.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.9566, allocations: 119.1 kB / 0.714 GB, free: 88.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003013/0.9596, allocations: 2.186 MB / 0.7161 GB, free: 87.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.9596, allocations: 0 / 0.7161 GB, free: 87.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005874/0.9655, allocations: 1.93 MB / 0.718 GB, free: 85.16 MB / 490.7 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.0006248/0.9661, allocations: 271.9 kB / 0.7183 GB, free: 84.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007034/0.9732, allocations: 4.773 MB / 0.7229 GB, free: 80.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/0.9732, allocations: 0 / 0.7229 GB, free: 80.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.976, allocations: 2.345 MB / 0.7252 GB, free: 78.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/0.9807, allocations: 1.31 MB / 0.7265 GB, free: 77.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/1.007, allocations: 17.64 MB / 0.7437 GB, free: 61.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003233/1.011, allocations: 3.097 MB / 0.7467 GB, free: 58.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004425/1.015, allocations: 1.852 MB / 0.7485 GB, free: 57.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.016, allocations: 424.4 kB / 0.7489 GB, free: 56.76 MB / 490.7 MB Notification: Performance of SimCode: time 2.655e-06/1.016, allocations: 0 / 0.7489 GB, free: 56.76 MB / 490.7 MB Notification: Performance of Templates: time 0.236/1.252, allocations: 68.84 MB / 0.8162 GB, free: 147.5 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.537059324095026]