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.001299/0.001299, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001376/0.001376, allocations: 166.1 kB / 24.82 MB, free: 9.258 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.9086/0.9086, allocations: 177 MB / 205.1 MB, free: 5.492 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.2495/0.2495, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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.513e-06/1.513e-06, allocations: 0 / 379.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.058e-05, allocations: 4.703 kB / 379.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.03148/0.0315, allocations: 39.3 MB / 418.7 MB, free: 10.22 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06634/0.09784, allocations: 11.1 MB / 429.8 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0144/0.1122, allocations: 381.9 kB / 430.1 MB, free: 14.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.1223, allocations: 9.078 MB / 439.2 MB, free: 5.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008052/0.1303, allocations: 3.746 MB / 443 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1378/0.2681, allocations: 2.434 MB / 445.4 MB, free: 48.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.2786, allocations: 14 MB / 459.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01623/0.2948, allocations: 17.45 MB / 476.9 MB, free: 39.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009697/0.3045, allocations: 10.92 MB / 487.8 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008856/0.3134, allocations: 7.599 MB / 495.4 MB, free: 31.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003438/0.3168, allocations: 1.979 MB / 497.4 MB, free: 31.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003547/0.3203, allocations: 2.386 MB / 499.7 MB, free: 31.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.3223, allocations: 4.166 MB / 0.4921 GB, free: 29.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007199/0.3295, allocations: 5.249 MB / 0.4972 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02096/0.3505, allocations: 12.84 MB / 0.5098 GB, free: 20.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3505, allocations: 1.156 kB / 0.5098 GB, free: 20.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3505, allocations: 3.703 kB / 0.5098 GB, free: 20.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006479/0.3512, allocations: 0 / 0.5098 GB, free: 20.05 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.02401/0.3752, allocations: 15.94 MB / 0.5253 GB, free: 6.809 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3752, allocations: 11.64 kB / 0.5253 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.3901, allocations: 6.322 MB / 0.5315 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00991/0.4, allocations: 7.471 MB / 0.5388 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005282/0.4006, allocations: 0.9314 MB / 0.5397 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.4022, allocations: 1.23 MB / 0.5409 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.4165, allocations: 9.678 MB / 0.5504 GB, free: 204 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/0.4167, allocations: 27.52 kB / 0.5504 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008301/0.4175, allocations: 0.5146 MB / 0.5509 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000453/0.418, allocations: 0.6532 MB / 0.5515 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008484/0.4265, allocations: 4.371 MB / 0.5558 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06393/0.4904, allocations: 48.57 MB / 0.6032 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007638/0.498, allocations: 7.994 MB / 0.611 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.4996, allocations: 1.503 MB / 0.6125 GB, free: 3.727 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3144/0.814, allocations: 5.529 MB / 0.6179 GB, free: 92.62 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.8141, allocations: 75.39 kB / 0.618 GB, free: 92.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=361): time 4.889e-06/0.8141, allocations: 2.875 kB / 0.618 GB, free: 92.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=403): time 0.01376/0.8278, allocations: 8.871 MB / 0.6267 GB, free: 92 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.8279, allocations: 91.2 kB / 0.6267 GB, free: 91.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.8316, allocations: 4.536 MB / 0.6312 GB, free: 91.38 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.8318, allocations: 91.08 kB / 0.6313 GB, free: 91.34 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.8337, allocations: 6.123 MB / 0.6372 GB, free: 88.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005995/0.8343, allocations: 1.505 MB / 0.6387 GB, free: 87.99 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/0.8356, allocations: 1.523 MB / 0.6402 GB, free: 87.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.8357, allocations: 480 kB / 0.6406 GB, free: 87.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008466/0.8365, allocations: 0.7586 MB / 0.6414 GB, free: 87.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.8384, allocations: 5.364 MB / 0.6466 GB, free: 81.74 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003489/0.8419, allocations: 6.859 MB / 0.6533 GB, free: 76.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.147e-05/0.842, allocations: 37.14 kB / 0.6534 GB, free: 76.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.006201/0.8482, allocations: 5.765 MB / 0.659 GB, free: 75.42 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.8482, allocations: 52.94 kB / 0.659 GB, free: 75.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.498e-05/0.8483, allocations: 102.4 kB / 0.6591 GB, free: 75.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.8498, allocations: 0.8512 MB / 0.66 GB, free: 75.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/0.8525, allocations: 1.508 MB / 0.6614 GB, free: 75.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/0.8569, allocations: 8.195 MB / 0.6694 GB, free: 69.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.8591, allocations: 286.2 kB / 0.6697 GB, free: 69.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/0.8594, allocations: 311.8 kB / 0.67 GB, free: 69.8 MB / 490.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.002233/0.8616, allocations: 0.6388 MB / 0.6706 GB, free: 69.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000594/0.8622, allocations: 0.6562 MB / 0.6713 GB, free: 69.28 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.8658, allocations: 3.387 MB / 0.6746 GB, free: 68.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.8658, allocations: 46.41 kB / 0.6746 GB, free: 68.94 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8658, allocations: 11.88 kB / 0.6746 GB, free: 68.93 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.8658, allocations: 19.83 kB / 0.6747 GB, free: 68.93 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00992/0.8757, allocations: 8.971 MB / 0.6834 GB, free: 68.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.8758, allocations: 11.72 kB / 0.6834 GB, free: 68.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.8772, allocations: 0.6656 MB / 0.6841 GB, free: 68.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.8785, allocations: 0.7101 MB / 0.6848 GB, free: 68.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.8786, allocations: 94.7 kB / 0.6849 GB, free: 68.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/0.8822, allocations: 7.767 MB / 0.6925 GB, free: 62.55 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8822, allocations: 10.61 kB / 0.6925 GB, free: 62.55 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004321/0.8866, allocations: 4.212 MB / 0.6966 GB, free: 61.55 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000994/0.8876, allocations: 0.8745 MB / 0.6974 GB, free: 61.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003349/0.8879, allocations: 71.09 kB / 0.6975 GB, free: 61.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009423/0.8888, allocations: 112.3 kB / 0.6976 GB, free: 61.25 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.8891, allocations: 297.4 kB / 0.6979 GB, free: 61.24 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.8893, allocations: 92.23 kB / 0.698 GB, free: 61.24 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001627/0.8909, allocations: 1.989 MB / 0.6999 GB, free: 61.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8909, allocations: 0 / 0.6999 GB, free: 61.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004541/0.8955, allocations: 1.926 MB / 0.7018 GB, free: 60.99 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.0003476/0.8958, allocations: 276.1 kB / 0.7021 GB, free: 60.83 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.8996, allocations: 4.36 MB / 0.7063 GB, free: 59.69 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8996, allocations: 0 / 0.7063 GB, free: 59.69 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.9012, allocations: 2.167 MB / 0.7084 GB, free: 58.85 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.9039, allocations: 1.312 MB / 0.7097 GB, free: 58.41 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.9199, allocations: 17.47 MB / 0.7268 GB, free: 44.94 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/0.922, allocations: 3.101 MB / 0.7298 GB, free: 42.68 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002008/0.924, allocations: 0.8466 MB / 0.7306 GB, free: 42.02 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/0.9258, allocations: 1.341 MB / 0.7319 GB, free: 40.88 MB / 490.8 MB Notification: Performance of SimCode: time 8.72e-07/0.9258, allocations: 0 / 0.7319 GB, free: 40.88 MB / 490.8 MB Notification: Performance of Templates: time 0.09206/1.018, allocations: 74.29 MB / 0.8045 GB, free: 1.883 MB / 0.5105 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.2280374420806766]