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.0009967/0.0009967, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001067/0.001067, allocations: 160.2 kB / 24.91 MB, free: 8.723 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.048/1.048, allocations: 177 MB / 205.2 MB, free: 5.465 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.2853/0.2853, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 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.463e-06/1.463e-06, allocations: 0 / 326.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.56e-05, allocations: 3.406 kB / 326.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.03087/0.03089, allocations: 39.38 MB / 365.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02822/0.05911, allocations: 11.72 MB / 377.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009182/0.06829, allocations: 385.9 kB / 377.6 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01329/0.08158, allocations: 9.268 MB / 386.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.09374, allocations: 3.757 MB / 390.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00638/0.1001, allocations: 2.447 MB / 393 MB, free: 3.742 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01688/0.117, allocations: 13.99 MB / 407 MB, free: 5.703 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0313/0.1483, allocations: 17.88 MB / 424.9 MB, free: 3.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02128/0.1696, allocations: 10.95 MB / 435.9 MB, free: 8.664 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01263/0.1822, allocations: 7.68 MB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.2065/0.3888, allocations: 1.98 MB / 445.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007032/0.3958, allocations: 2.392 MB / 447.9 MB, free: 48.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006012/0.4018, allocations: 4.16 MB / 452.1 MB, free: 48.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01398/0.4158, allocations: 5.251 MB / 457.3 MB, free: 48.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02142/0.4372, allocations: 12.84 MB / 470.2 MB, free: 47.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4372, allocations: 2 kB / 470.2 MB, free: 47.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4372, allocations: 2.812 kB / 470.2 MB, free: 47.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0011/0.4383, allocations: 0 / 470.2 MB, free: 47.69 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.03745/0.4758, allocations: 15.01 MB / 485.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4758, allocations: 7.781 kB / 485.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03101/0.5068, allocations: 6.455 MB / 491.6 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.5185, allocations: 4.542 MB / 496.2 MB, free: 38.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006558/0.5192, allocations: 0.9326 MB / 497.1 MB, free: 37.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00563/0.5248, allocations: 1.23 MB / 498.4 MB, free: 36.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03176/0.5566, allocations: 9.895 MB / 0.4963 GB, free: 27.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004495/0.557, allocations: 22.7 kB / 0.4964 GB, free: 27.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003439/0.5605, allocations: 0.5045 MB / 0.4969 GB, free: 27.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004005/0.5609, allocations: 0.657 MB / 0.4975 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.5788, allocations: 4.777 MB / 0.5022 GB, free: 22.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07242/0.6513, allocations: 37.85 MB / 0.5391 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.6615, allocations: 6.257 MB / 0.5452 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.6638, allocations: 1.325 MB / 0.5465 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009864/0.6737, allocations: 4.31 MB / 0.5507 GB, free: 5.941 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.6737, allocations: 73.34 kB / 0.5508 GB, free: 5.859 MB / 442.7 MB Notification: Performance of pre-optimization done (n=361): time 5.07e-06/0.6737, allocations: 0 / 0.5508 GB, free: 5.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=403): time 0.01626/0.69, allocations: 8.405 MB / 0.559 GB, free: 13.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.69, allocations: 94.56 kB / 0.5591 GB, free: 13.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004046/0.6941, allocations: 3.502 MB / 0.5625 GB, free: 10.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003194/0.6944, allocations: 89.7 kB / 0.5626 GB, free: 10.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.6969, allocations: 5.243 MB / 0.5677 GB, free: 5.535 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001208/0.6981, allocations: 1.46 MB / 0.5692 GB, free: 4.156 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/0.6999, allocations: 1.267 MB / 0.5704 GB, free: 3.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.7, allocations: 305.1 kB / 0.5707 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.7016, allocations: 0.886 MB / 0.5715 GB, free: 1.828 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/0.7047, allocations: 3.78 MB / 0.5752 GB, free: 12.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005858/0.7105, allocations: 5.328 MB / 0.5804 GB, free: 6.637 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.893e-05/0.7106, allocations: 28 kB / 0.5805 GB, free: 6.609 MB / 474.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.008221/0.7188, allocations: 4.657 MB / 0.585 GB, free: 2.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.7189, allocations: 48 kB / 0.5851 GB, free: 2.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/0.719, allocations: 100 kB / 0.5852 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/0.7211, allocations: 0.7983 MB / 0.5859 GB, free: 1.645 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/0.7254, allocations: 1.603 MB / 0.5875 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.7315, allocations: 6.046 MB / 0.5934 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/0.7357, allocations: 298.4 kB / 0.5937 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005679/0.7363, allocations: 300 kB / 0.594 GB, free: 9.43 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.003161/0.7394, allocations: 0.5948 MB / 0.5946 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/0.7405, allocations: 439.5 kB / 0.595 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/0.7455, allocations: 2.789 MB / 0.5977 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.7455, allocations: 40 kB / 0.5977 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.7455, allocations: 8 kB / 0.5977 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.7455, allocations: 27.86 kB / 0.5978 GB, free: 5.648 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.7602, allocations: 7.066 MB / 0.6047 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.7602, allocations: 4 kB / 0.6047 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/0.7623, allocations: 0.7209 MB / 0.6054 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.7636, allocations: 0.6554 MB / 0.606 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/0.7639, allocations: 87.95 kB / 0.6061 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004375/0.7683, allocations: 5.647 MB / 0.6116 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7683, allocations: 7.781 kB / 0.6116 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/0.7735, allocations: 3.44 MB / 0.615 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.775, allocations: 0.5938 MB / 0.6156 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/0.7754, allocations: 80 kB / 0.6156 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.7765, allocations: 104 kB / 0.6157 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/0.777, allocations: 290.1 kB / 0.616 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.7771, allocations: 83.97 kB / 0.6161 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002133/0.7793, allocations: 1.629 MB / 0.6177 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7793, allocations: 4 kB / 0.6177 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006517/0.7858, allocations: 1.926 MB / 0.6196 GB, free: 104 kB / 0.4948 GB 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.1958/0.9816, allocations: 254.2 kB / 0.6198 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007878/0.9894, allocations: 3.734 MB / 0.6235 GB, free: 127 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 0.0002375/0.9897, allocations: 82.22 kB / 0.6235 GB, free: 127 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.9921, allocations: 1.804 MB / 0.6253 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/0.9963, allocations: 1.299 MB / 0.6266 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02871/1.025, allocations: 17.32 MB / 0.6435 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004248/1.029, allocations: 2.279 MB / 0.6457 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003365/1.033, allocations: 0.85 MB / 0.6465 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002373/1.035, allocations: 1.203 MB / 0.6477 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.455e-06/1.035, allocations: 0 / 0.6477 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.1047/1.14, allocations: 74.85 MB / 0.7208 GB, free: 60.21 MB / 0.4948 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 -s gbode -gbm=radauIIA3 -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.587805016897619]